C++ Tips It is not necessary to include a header file in C++ Program at all. A header file is included if only the program intends to use the function or macros etc.defined in that particular header file. #learntocode #cplusplus #cprogramming #programmer #cplusplustips #code
@CProgramming1 Many people attempt to use C++ only for procedural C and many don't realize that one is also Object Oriented Programming( OOP ) and procedural too and one is not ( OOP ). Could you post more about C++ and maybe some ideas on Classes and methods and new instances?
@CProgramming1 Technically true. But if you're writing something that doesn't do any I/o, and doesn't share types with other comp. units, then most likely that's just a test case written to see if it will compile or not. Nttawwt. And if not, shouldn't it at least include it's own .h file?