getting error: macro names must be identifiers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

getting error: macro names must be identifiers

Code blocks is Getting this error: macro names must be identifiers. I'm getting this error no matter what I do, even with the "hello world" code pre written in code blocks. here is my code #include<iostream> using namespace std; int main () { cout<<"hello world"<< endl; return 0; }

13th Jun 2018, 3:59 PM
Joe Szem
Joe Szem - avatar
1 Answer
0
Try putting a space between the include and <iostream>
13th Jun 2018, 5:49 PM
Marco
Marco - avatar