excuse me i wrote the following code of program as been told in this lecture that one should try to teast it on c odepad.org but it told me there is an error in line six which is where i wrote return 0 pls what is wrong wirth it
#include
int main(void){
printf(¨hello¨);
return 0;
}
Babalola D.
2 1
excuse me my seniors who had tried this course before and have completed it.
when i was try to anser the test that was set for this course somethings went wrong. sometimes i may anser a questiiion correctly instead it might says your did not choose any answer or says you get it wrong what is the problem
Charlie R.
1 2
It didn't work. I'm getting an error on line 4
In function 'main':
Line 4: error: stray '\342' in program
Line 4: error: stray '\200' in program
Line 4: error: stray '\234' in program
Line 4: error: 'Charlie' undeclared (first use in this function)
Line 4: error: (Each undeclared identifier is reported only once
Line 4: error: for each function it appears in.)
Line 4: error: expected ')' before 'is'
Line 4: error: stray '\342' in program
Line 4: error: stray '\200' in program
Line 4: error: stray '\235' in program
REGINA G.
1 2
What some other library functions besides stdio.h can we use?
Rap A.
0 1
i got this back Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'main' so what am i doing wrong here?
Shakeitha L.
0 1
I did it!!! I ran it in code block...
Trunesh B.
0 1
Done
Lee M.
1 1
#include
int main(void) {
(“hello”);
return 0;
}
I put all this in codebook.org and I got this back
In function 'main':
Line 3: error: stray '\342' in program
Line 3: error: stray '\200' in program
Line 3: error: stray '\234' in program
Line 3: error: stray '\342' in program
Line 3: error: stray '\200' in program
Line 3: error: stray '\235' in program
Line 3: error: 'hello' undeclared (first use in this function)
Line 3: error: (Each undeclared identifier is reported only once
Line 3: error: for each function it appears in.)
Not sure what I have done wrong?
Aprenda a programar C com Alison. Esses cursos de programação C são para qualquer pessoa que esteja procurando um tutorial de Programação C que seja gratuito e on-line.
Thanks For The Course
excuse me i wrote the following code of program as been told in this lecture that one should try to teast it on c odepad.org but it told me there is an error in line six which is where i wrote return 0 pls what is wrong wirth it #include int main(void){ printf(¨hello¨); return 0; }
excuse me my seniors who had tried this course before and have completed it. when i was try to anser the test that was set for this course somethings went wrong. sometimes i may anser a questiiion correctly instead it might says your did not choose any answer or says you get it wrong what is the problem
It didn't work. I'm getting an error on line 4 In function 'main': Line 4: error: stray '\342' in program Line 4: error: stray '\200' in program Line 4: error: stray '\234' in program Line 4: error: 'Charlie' undeclared (first use in this function) Line 4: error: (Each undeclared identifier is reported only once Line 4: error: for each function it appears in.) Line 4: error: expected ')' before 'is' Line 4: error: stray '\342' in program Line 4: error: stray '\200' in program Line 4: error: stray '\235' in program
What some other library functions besides stdio.h can we use?
i got this back Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'main' so what am i doing wrong here?
I did it!!! I ran it in code block...
Done
#include int main(void) { (“hello”); return 0; } I put all this in codebook.org and I got this back In function 'main': Line 3: error: stray '\342' in program Line 3: error: stray '\200' in program Line 3: error: stray '\234' in program Line 3: error: stray '\342' in program Line 3: error: stray '\200' in program Line 3: error: stray '\235' in program Line 3: error: 'hello' undeclared (first use in this function) Line 3: error: (Each undeclared identifier is reported only once Line 3: error: for each function it appears in.) Not sure what I have done wrong?
I feel good, just wrote my first program!