-
OOPic Problems
We are trying to build a robot cart for our FIRST robotics team to carry our robot from the pit area to the competition area, and we are using an OOPic to get it to do its thing. Anywho, we tried to start programming it, and the C compiler it came with won't let us define main. It tells us that void cannot begin a statement, when we try to do this:
Code:
void main()
{
return;
}
Yes, I hate void main too, but this compiler is a piece of crap and requires main to be declared as void. Any ideas?
PS: We tried int main first, and it said int was not defined.
-
Well provide some links or some more information so others can read up on the problem.
Do you mean this?
Because if you do, then that counts as a free standing implementation, and the compiler can define main however it likes.
-