+ 1
What’s the bug ?
#include <iostream> using namespace std; intmain() { cout<<"Hello world"; return 0; } When I write that at c++ compiler it just gives me an error 🥲 what ‘s the bug ? I can’t find the problem . Help me please 🫥
4 Answers
+ 1
بالعربي
اكو فاصله بين تعريف int و الداله الرئيسيه main
لازم تخلي
+ 3
#include <iostream>
using namespace std ;
*/ must put space between return type int and main /*
int main(){
cout << " Hello World " << endl ;
return 0 ;
}
+ 2
Is that the exact code? A whitespace is missing in "int main".
What error do you get?
+ 1
Thanksssss to you all 🖤.