0
I'm using turbo c++ and i type the "hello world" code and it doesn't work
why???
5 odpowiedzi
+ 2
#include<iostream>
int main()
{
std::cout<<"Hello World!";
return 0;
}
Please check your spelling of using in using namespace std; line and no space between 0 and return.
+ 1
you must write like this
std::cout<<"Hello World";
0
#include<iostream>
usinh namespace std;
int main()
{
cout<<"Hello World!";
return0;
}
still can't run or compile
0
If that is a copy paste of your code, you have usinh instead of using, making your cout be undefined. Fix that or use std:: in front of cout like daffa said.
0
add getchar(); before return 0; so the black console doesnt disappear quickly. you should be avle to see hello world.