Message from C, C++ discussions
January 2020
— You will have to work with the terminal window
Can you provide me any example?
Actually i'm a beginner and i don't know so much about the terminals
— Um ncurses, or https://en.wikipedia.org/wiki/ANSI_escape_code
— Ncurses is hot
— #include<iostream>
using namespace std;
int main()
{
int i,j,d,t,r,z;
int a[3][3];
// for determinates.
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
cin>>a[i][j];
d=a[i][i]*(a[2][2]*a[3][3]-a[3][2]*a[2][3]);
t= a[1][2]*(a[2][1]*a[3][3]-a[3][1]*a[2][3]);
r=a[1][3]*(a[2][1]*a[3][2]-a[3][1]*a[2][2]);
}
}
cout<<"the determinates is ="<<endl;
z=d-t+r;
cout<<z<<endl;
system("pause");
return 0;
}
— Pleas help me..
— Jay Hind
— Neko_cpp too sad
— Dayum why people can’t understand
— Maybe because....... No... I dont have an answer
— Before getting all the values , your accessing it
— Separate input and calculation