Subject:
|
Re: [Interactive C features]
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 26 Aug 1998 23:56:08 GMT
|
Original-From:
|
Justin Kao <JKAO@BIGFOOT.nomorespamCOM>
|
Viewed:
|
1084 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:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|