bueno,, primero que todo les agradezco las respuestas y a codelog...
(asi te conozco y asi te dire)

porque sus link me dieron algunas bases
y tambien pido "disculpas" por la demora
logre hacer la diag principal y tambien triangular principal y triangular secundaria
intente hacer la diagonal secundaria como lo podran ver en el code y aunqe me compila correctamente no me muestra los datos y no entiendo porque...
espero puedan ayudarme con este problemita y recibir recomendaciones para hacer la tridiagonal ....
ah!! trabaje con el dev-cpp
aqui el code:
#include <iostream>
#include <cstdlib>
using namespace std;
int main (void)
{
int n,m,k,j,t,mat[10][10];
cout<<"\n\n\t ingrese numero de filas:\t";
cin>>n;
cout<<"\n\n\t ingrese numero de columnas:\t";
cin>>m;
if(n==m)
{
for(k=1;k<=n;k++)
{
for(j=1;j<=m;j++)
{
cout<<"\n\n\t ingrese un dato a la posicion" <<k<<","<<j<<"\t";
cin>>mat[k][j];
system("cls");
}//fin for
} //fin for
system("pause");
system("cls");
cout<<"\n\n\t DIAGONAL PRINCIPAL\n\n\t";
for(k=1;k<=n;k++)
{
for(j=1;j<=m;j++)
{
cout<<"\n\t";
cout<<mat[k][j];
k++;
}
}
cout<<"\n\n\t";
system("pause");
system("cls");
cout<<"\n\n\t DIAGONAL SECUNDARIA\n\n\t";
for(k=n;k<=1;k--)
{
for(j=m;j<=1;j--)
{
cout<<"\n\t";
cout<<mat[k][j];
k--;
}
}
cout<<"\n\n\t";
system("pause");
system("cls");
cout<<"\n\n\t\t TRIANGULAR PRINCIPAL\n\n\t";
for(k=1;k<=(n-1);k++)
{
cout<<"\n";
for(j=(k+1);j<=m;j++)
{
cout<<"\t"<<mat[k][j];
}//fin for
}//fin for
cout<<"\n\n\t";
system("pause");
system("cls");
cout<<"\n\n\t\t TRIANGULAR SECUNDARIA\n\n\t";
t=1;
for(k=2;k<=n;k++)
{
cout<<"\n";
for(j=1;j<=(m-1);j++)
{
cout<<"\t"<<mat[k][j];
if(j==t)
{
j=m;
t++;
}
}
}
cout<<"\n\n\t";
system("pause");
}//fin if
else
{
system("cls");
cout<<"\n\n\t PARA HACER LAS OPERACIONES LA MATRIZ DEBE SER CUADRADA\n\n\t";
system("pause");
}
return 0;
}//fin main