i've already done that ( learn on tutorials, before asking you questions, and open a good C++ book), but despite that, for now i don't succeed into doing what i want to do, but i'll keep doing my best and i'll quickly stop to ask you such basic questions.
Now i've completed what you sent me, but i get plenty of error stray '...' in program
Here is my code :
Code:#include <iostream> #include <iomanip> #include <cstdlib> using namespace std; void initArray(int largeArray[20][20]) { for (int x = 0; x < 20; x++) { for (int y = 0; y < 20; y++) { largeArray[x][y] = 0; } } } void printOutArray(int largeArray[20][20]) { int x; int y; for (int x = 0; x < 20; x++){ for ( y = 0 ; y<20; y++ ){ cout<< largeArray [x] [y]<<'\t' ; } cout << endl ; } } int main() { int largeArray[20][20]; initArray(largeArray); printOutArray(largeArray); system("PAUSE"); }



LinkBack URL
About LinkBacks
, and open a good C++ book), but despite that, for now i don't succeed into doing what i want to do, but i'll keep doing my best and i'll quickly stop to ask you such basic questions. 


