help!~~~

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
mystical_liu
New poster
Posts: 9
Joined: Sun Jul 21, 2002 1:18 pm

help!~~~

Post by mystical_liu »

it just lisk you have a array a[5]={1,2,3,4,5}

then you can use a function(like java's function) to display it to a graphic

5 | *
4 | *
3 | *
2 | *
1 | *
0 |_____________________________________
a[0] a[1] a[2] a[3] a[4] a[5]
playerX
Learning poster
Posts: 63
Joined: Fri Apr 25, 2003 11:57 pm
Location: Coimbra, Portugal

Post by playerX »

well, i didn't understand what you mean, but how do you plan to build a 2 dimensional graph from a 1 dimensional array?
Post Reply

Return to “Algorithms”