Hi. Im an idiot. Im also new to c++. Tell me the difference between #include<iostream.h> and #include<iostream> using namespace std. or something like that. I need a guide to show me the ways of programming before i hurt myself.
Hi. Im an idiot. Im also new to c++. Tell me the difference between #include<iostream.h> and #include<iostream> using namespace std. or something like that. I need a guide to show me the ways of programming before i hurt myself.
`Who are YOU?' said the Caterpillar.
This was not an encouraging opening for a conversation. Alice replied, rather shyly, `I--I hardly know, sir, just at present-- at least I know who I WAS when I got up this morning, but I think I must have been changed several times since then.' - Lewis Caroll's Alice in Wonderland.
iostream.h is the old way
iostream is the standard way
using namespace std;
just lets you not have to type std:: in front of alot of things
save you typing time.
Board search turned up this discussion of .h headers vs. standard headers
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel