1

Can't comment // on codeblocks

view story
linux-howto

http://stackoverflow.com – I'm using codeblocks to learn C programming. When I use /* */ the program works, but when I use // the program returns this error. expected identifier or ‘(’ before ‘/’ token| here's the main.c #include <stdio.h> #include <stdlib.h> //Ex1 int i; float p; char *n; int main(void) { i = 22; p = 70.0; n = "Samuel"; printf("%s %d %.2f", n, i, p); return 0; } (HowTos)