View unanswered posts | View active topics It is currently Sun Aug 18, 2019 10:01 am






Reply to topic  [ 2 posts ] 
ROBOTC and ANSI C 
Author Message
Rookie

Joined: Sat Nov 14, 2015 8:42 pm
Posts: 1
Post ROBOTC and ANSI C
This may sound weird, but what can you do in C that you can't in ROBOTC? Meaning that if I were to include a standard C header file in a ROBOTC program and use its functions, would it work? for example if I were to include stdlib.h for some of its functions like rand or its string manipulation functions.


Sat Nov 14, 2015 8:47 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: ROBOTC and ANSI C
Pointers to functions don't work, arrays with more than 2 dimensions won't work, probably other things too :)

I reckon you try it and see how well it'll work. I managed to port Atmel's malloc() and free() libc stuff to ROBOTC without too much trouble.

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Wed Dec 16, 2015 1:04 am
Profile WWW
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.