makefile include <iostream.h> question
I'm trying to learn makefiles and have started here:
http://mrbook.org/tutorials/make/ I get the following error: Code:
myLinuxBox:/home/user/makefiles # g++ main.cpp hello.cpp factorial.cpp -o hello Code:
#include <iostream.h> How do I include the iostream.h properly?? |
Quote:
i.e. leave out the ".h" |
Thanks for your reply. I did this and it does not complain about not finding it but it complains on the cout:
Quote:
|
Quote:
You can also import the name space entirely (bad idea usually) by using namespace std; in which case you don't need the "std::" prefix. You can also import individual elements from the namespace (better than getting all of them) by using std::cout; (and again you can then drop the prefix) |
excellent, thanks :)
|
All times are GMT -5. The time now is 07:18 PM. |