Can i make my own header file containing alot of other header files like.
VB Code:
//// Jasonlpz.h #include <stdio.h> #include <iostream> #include <sstream> #include <string>
Printable View
Can i make my own header file containing alot of other header files like.
VB Code:
//// Jasonlpz.h #include <stdio.h> #include <iostream> #include <sstream> #include <string>
Yes. The only issue arises is maintenance. If you keep making changes to the header file over time, then go back and 're-use' it on code that expects an old version of the header, you're in trouble - or the person trying to maintain your code is in trouble.
If you keep it static - no problem.