ROBOTC.net forums
http://www.robotc.net/forums/

ROBOTC and ANSI C
http://www.robotc.net/forums/viewtopic.php?f=14&t=12497
Page 1 of 1

Author:  Vikaton [ Sat Nov 14, 2015 8:47 pm ]
Post subject:  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.

Author:  mightor [ Wed Dec 16, 2015 1:04 am ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/