User profile: AbstractionAnon

User info
User name:AbstractionAnon
Number of posts:1607
Latest posts:

File Input and Output
No, the code is not fine. As pointed out above, you're violating the C++ stadard by calling main re...

Battling Average
Line 27: What is the purpose of the do/while loop? It's only going to execute once (when n = 9). ...

Getting a value from object passing it to an array
Line 20: toString is declared as returning nothing (void). Line 49: You're trying to assign the r...

Printing the elements of a matrix
Simply add 1 at the time you print out the indexes. [code] cout << "a[" << i+1 << "][" << j+1 << "...

Simple array question
[quote]I seemed to have fixed it this way but I'm not sure if its really the most 'elegant' way to d...