- 2
please I try using iostream.h but it is not compiling
3 Respostas
+ 3
#include <iostream>
int main(void) {
std::cout << "Hello world!";
return 0;
}
+ 3
because iostream it's for old C++... and Zen...use the main arguments for better performance. ..like this
int main (int argc, char* argc [])
its just a tip...
hope that this helps ;-)...good luck!
+ 1
if you are using the new ide like codeblocks then you will have to use iostream only and later write using namespace std;