User forums > Help

"Syntax error: "(" unexpected", in obviously correct hello world code


Ubuntu, installed codeblocks via terminal command, created an empty file, saved it on a path, typed these codes in, build and run, then 3: Syntax error: "(" unexpected

--- Code: ---#include <stdio.h>

int main(){
    return 0;}
--- End code ---

Miguel Gimenez:
Follow this guide from the FAQ.


[0] Message Index

Go to full version