View unanswered posts | View active topics It is currently Wed Aug 12, 2020 3:02 pm

Reply to topic  [ 2 posts ] 
String support 
Author Message

Joined: Tue Feb 16, 2010 6:49 pm
Posts: 2
Post 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
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post 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
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

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

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.