Subject:
|
Re: [Interactive C features]
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 26 Aug 1998 23:56:08 GMT
|
Original-From:
|
Justin Kao <jkao@bigfoot.comSPAMLESS>
|
Viewed:
|
2086 times
|
| |
 | |
> However, it seems that Interactive C does not support multidimensional
> arrays. So, does anyone have any idea about how i am supposed to port
> it to Interactive C ?
You could use a one dimensional array of length width*height such that:
cellMazeWhatever[x][y] is turned into cellMazeWhatever[(x-1)*width+y]
--
Justin Kao <jkao@bigfoot.com> <jkao@flash.net> <ICQ 5903051>
|
|
Message has 1 Reply:
3 Messages in This Thread:   ![Re: [Interactive C features] -handyboard@media.mit.edu (Randy Sargent) (27-Aug-98 to lugnet.robotics.handyboard)](/news/x.gif)  ![Re: [Interactive C features] -handyboard@media.mit.edu (Richard Drushel) (28-Aug-98 to lugnet.robotics.handyboard)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|