after namespace std I have putted int main without space in third unfortunately it stops please help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

after namespace std I have putted int main without space in third unfortunately it stops please help

15th Jul 2016, 3:39 PM
shubham chourasia
5 Answers
+ 1
we can't get your question bro, will u plz put some beginning codes here.
15th Jul 2016, 4:10 PM
Abdullah
Abdullah - avatar
+ 1
it should look like this #include <iostream> int main() { std::cout<<"Hello, world.\n"; return 0; }
15th Jul 2016, 9:42 PM
Null Void
Null Void - avatar
0
int is a data type and main is a function so there must be a space between them to justify their identity
15th Jul 2016, 4:09 PM
Rohit Sarkar
Rohit Sarkar - avatar
- 1
hi
15th Jul 2016, 4:05 PM
Viral You_TUBE
Viral You_TUBE - avatar
- 1
do you mean you did like intmain () { } this?
15th Jul 2016, 11:39 PM
_Geometry dash_ _Roh_ (AKA NovaRate0315)
_Geometry dash_ _Roh_ (AKA NovaRate0315) - avatar