Re: yet another question ;)
Quote:
Originally posted by blasta
when you make a second source file for your project, do you still have to write #include "<iostream.h>", "int main();" or anything else for it to run? what im saying is that if you write it in the first source file do you have to write it again in the second?
1st its either this #include <iostream> or #include "iostream.h". I have never seen ..."<iostream.h>" it like this but what you must do is create a header file and link every other .cpp file to you header file like so "header.h"
I hope this makes sense.
Good Luck!
cj
;)
Re: Re: yet another question ;)
Quote:
Originally posted by correlcj
1st its either this #include <iostream> or #include "iostream.h". I have never seen ..."<iostream.h>" it like this but what you must do is create a header file and link every other .cpp file to you header file like so "header.h"
I hope this makes sense.
Good Luck!
cj
;)
i know this is said a long time after you posted, but im wondering how do you make a header file?