New question #79175 on Ubuntu:
https://answers.launchpad.net/ubuntu/+question/79175

I am new to Linux os and i installed ubuntu juanty two days before.
i have installed build essential packages and other packages required to 
compile c code. But while compiling simple c program (which only prints the 
message ) i am getting error.
the code is:-

#include<stdio.h>
int main
{
 printf("this is sit\n");
return 0;
}

i'm getting the below error:-

sample.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ 
token

so tell me what to do ???



-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntuforums-unanswered
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntuforums-unanswered
More help   : https://help.launchpad.net/ListHelp

Reply via email to