It is currently Fri Jan 19, 2018 3:36 pm Advanced search

C Starter Package

Random stuff about the contest, posts that don't fit in the other forums.

C Starter Package

Postby Mike Costa » Wed Feb 03, 2010 5:22 pm

I was wondering if someone were able to get me started with a C starter package? any kind of starting bot is fine, thanks.
Mike Costa
Cadet
 
Posts: 1
Joined: Wed Feb 03, 2010 5:18 pm

Re: C Starter Package

Postby amstan » Wed Feb 03, 2010 5:59 pm

You can use the C++ one and just include the C libraries and code in C. All will run fine.

If this is really wanted, i could copy the C driver from my bot and release it as a starter package. Is there other people needing this?
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Re: C Starter Package

Postby amstan » Wed Feb 03, 2010 6:31 pm

Sigh.. this is more difficult than i thought.

Problem is that i use reversed coordinates, x changes if you go north south and y changes for east west. This might confuse other people trying to get the C program working.

I suggest just writing code in the C++ one, it should be the same thing. In fact, before when they didn't have the C compiler setup I made my makefile rename the C files to CC files, and it worked just as well.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario


Return to Misc

Who is online

Users browsing this forum: No registered users and 1 guest

cron