0
Why is iostream.h not working in c++?
10 ответов
+ 3
you need to do:
#include <iostream>
Not
#include <iostream.h>
+ 2
#Jeet..
NO, using namespace std; is optional.
but you need yo write:
std::cout << "hello" << std::endl;
that how namespaces work, even in SL cause they use a normal c++ compiler
+ 2
no, with large projects it is almost necessary to NOT use "using namespace ...; cause of how namespaces work
+ 1
Use #include<iostream> and after that use Namespace Library
Which is "using namespace std"
+ 1
#Jeet.. no need for using namespace std; but use it if you want
+ 1
So you have to use std::cout
Instead of that i think using namespace std is better...
+ 1
Got it..thanks...
0
Nope..you have to use..this is necessary...
0
Not optional
0
You can check into SL also...