I am doing some *very* basic coding in C using code blocks. I kept running into a syntax error, even on something as fundamental as a hello, world:
#include <stdio.h>
main ()
{
printf("tests");
return 0;
}
I compile it, change permission on the file, and get this error:
syntax error: word unexpected (expecting ")"
Some poking around indicates this may arise from choosing the wrong compiler-- I chose the GNU GCC Compiler.
I am running Ubuntu 13.10
Processor : Intel® Core™ i5-4200M CPU @ 2.50GHz × 4
OS type : 64 bit
Can anyone point me in the right direction? I'm stumped.
Bookmarks