No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I am new to this site and to C++. I have been following a tutorial on how to make a Tetris clone in SDL and C++ from the following site : [URL="http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html"]http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html[/URL] When i was finished going through it all and sorting through all the petty errors I had … |
|
Re:
#include <iostream> using namespace std; int main() { int i,j,k; int Matrix1[3][3] = { {1,2,3}, {4,5,6}, {1,2,3}, }; int Matrix2[3][3] = { {3,2,1}, {6,5,4}, {3,2,1}, }; int Matrix3[3][3]; cout << "Matrix 1: " << endl; for( i = 0; i < 3; i++) { for( j = 0; j < … |