+ 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 đŸ«„

30th Jun 2022, 9:08 PM
Nada Ahmed
Nada Ahmed - avatar
4 Answers
+ 1
ŰšŰ§Ù„ŰčŰ±ŰšÙŠ Ű§ÙƒÙˆ ÙŰ§Ű”Ù„Ù‡ ŰšÙŠÙ† ŰȘŰčŰ±ÙŠÙ int و Ű§Ù„ŰŻŰ§Ù„Ù‡ Ű§Ù„Ű±ŰŠÙŠŰłÙŠÙ‡ main Ù„Ű§ŰČم ŰȘŰźÙ„ÙŠ
30th Jun 2022, 10:03 PM
ZAKI MAX
ZAKI MAX - avatar
+ 3
#include <iostream> using namespace std ; */ must put space between return type int and main /* int main(){ cout << " Hello World " << endl ; return 0 ; }
30th Jun 2022, 10:02 PM
ZAKI MAX
ZAKI MAX - avatar
+ 2
Is that the exact code? A whitespace is missing in "int main". What error do you get?
30th Jun 2022, 9:35 PM
Lisa
Lisa - avatar
+ 1
Thanksssss to you all đŸ–€.
30th Jun 2022, 10:18 PM
Nada Ahmed
Nada Ahmed - avatar