|
Page 1 of 1
|
[ 2 posts ] |
|
| Author |
Message |
|
xonev
Rookie
Joined: Tue Feb 16, 2010 6:49 pm Posts: 2
|
 String support
Hello, I've just started messing around with RobotC and have been looking for documentation that will tell me what the similarities/differences between RobotC and standard C are. So far, I have been unsuccessful. Is there such documentation? So far I've gathered that function pointers and recursion are not possible. What other limitations are there?
Specifically, the main question I have is what kind of support is there for strings or C strings? I tried using the `string` keyword since it had syntax highlighting, but it gave me an error about that not being supported on this platform. I also tried using char pointers, but it doesn't seem to like double-quote syntax, e.g. `char * x = "string";`... What can I do?
|
| Tue Feb 16, 2010 7:03 pm |
|
 |
|
magicode
Moderator
Joined: Tue Sep 14, 2010 9:19 pm Posts: 495
|
 Re: String support
Older platforms do not support strings. go to Robot : Platform Type. All of the cortex platforms support stings, but I don't know about NXT. Same goes for doubles, longs...ect.
_________________ sudo rm -rf /
|
| Tue Sep 14, 2010 9:27 pm |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|