plot letters on x.y graph

looks like

A


B



C
O yea Spaced out in a graph like (10,5),(20,10),(30,20) what function do i use
What???? make this more clear please.
A multi dimensional array :

1
2
3
4
5
int array [3] [3] = {
{2,1,1},
{1,1,1},
{1,1,1}
};


This declares an array so to print a specific part you would type some thing like this :

cout << array [0] [0];

That would output 2, since arrays start at 0 ... imagine them as x and y coordinates.

More in depth article : http://msdn.microsoft.com/en-us/library/7wkxxx2e(VS.71).aspx
im still confused on where the (cordinates) go and also letters
*sigh

What do you not understand?

1
2
3
4
5
6
7
8
9
10
11
12
13
int x;
int y;

int array [3] [3] = {
{1,2,3},
{4,5,6},
{7,8,9}
};

x = 2;
y = 0;

cout << array [x] [y];

Topic archived. No new replies allowed.