Completely incompetent c++'er, needing your help!!
i'm a beginner at c++ so be gentle ;) lol
I'm trying to make some sort of xy plotting graph as dots as the xy plane.
this is what i've gotten
Code:
const int ROWS = 21;
const int COLS = 75;
char plot[ROWS][COLS]; // 21 by 75
for (int x = 0; x < ROWS; x++)
for (int y = 0 ; y< COLS; y++)
{
plot[ROWS][COLS] = '.';
}
But the thing is.. the graph is meant to look like this
..............................................
..............................................
..............................................
..............................................
..............................................
But all i get once i compile it is.. something along the lines of
..............................................
..............................................
..............................................
..............................................
.............................. <----- half unfinished graph
if this sounds too vague mention it, no flaming pls, i'll try and fix it up