Subject:
|
Re: [Interactive C features]
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Thu, 27 Aug 1998 01:57:38 GMT
|
Original-From:
|
Randy Sargent <RSARGENT@saynotospamNEWTONLABS.COM>
|
Viewed:
|
1145 times
|
| |
| |
You can also upgrade to IC 3.1/3.2. Among the improvements include
support for multidimensional arrays.
-- Randy
------------------------
Justin Kao wrote:
>
> > 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>
--
----------------------------------------------------------------
Randy Sargent Newton Research Labs
President Robotic Systems and Software
rsargent@newtonlabs.com http://www.newtonlabs.com/
|
|
Message has 1 Reply: | | Re: [Interactive C features]
|
| [Randy Sargent] spake unto the ether: (...) Sigh. I can't forsee our Autonomous Robotics course buying 15 copies of IC 3.x or greater until it supports case/switch. It's the only feature that our students using freeware 2.81 really complain that (...) (26 years ago, 28-Aug-98, to lugnet.robotics.handyboard)
|
Message is in Reply To:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|