i agree with phaza but if you just use #include <iostream> (because you want to write all your code in C++) make sure your next line or something is using namespace std; Anyways you should just stick with one programming language throughout your programthere is a difference between C and C++. You can still type #include <iostream.h> in a C++ program, but it is better to do it like this:
you dont need to do the std::cout or std::endl stuff because when you type in using namespace std; you are using a using directive (kinda funky sounding)...Anyways, thought i might just teach you a little bit of C++Code:#include <iostream> using namespace std; int main (void) { using std::cout; using std::endl; std::cout << "1 4/|\ 4 1337 |>r0gr4m3r" << std::endl; return 0; }while we are talking about differences between C and C++




there is a difference between C and C++. You can still type #include <iostream.h> in a C++ program, but it is better to do it like this:
Reply With Quote