So I am making my Hello world program, and it is like this:
#include "lib-includes/capi324v221.h"
void CBOT_main(void)
{
LCD_open();
if (!LCD_OPEN) {
while (true); // loop forever
}
else {
LCD_printf("Hello, World!");
while(true); // loop forever
}
}
Can anyone help with this? I am sorry if it is a little vague; it is all the info I know for the most part.
First of all what are those
whileloops doing there? My first reaction is to get rid of those.I have no personal experience with programming CEENBots\your IDE, but based on the error description in the question title I suspect your source file has a
!in it which messes up the build process (it complains about aWorld!.mapfile, best to keep special characters out of filenames).edit:
To extend upon what Öö Tiib states below, get rid of the space and comma too 🙂