0

Which C++ header files are essentially required to be included to run/execute the C++ source code (Note. Do not include any header file, which is/are not required)

1st Dec 2016, 2:03 PM
mukul joshi
3 Respostas
+ 2
iostream is pretty much the only mandatory one.
1st Dec 2016, 3:14 PM
Seckar
Seckar - avatar
+ 1
I am guessing you are refering to libraries, an there is no such thing as a required library. You include headers based on the functionality you want to implement. For example, if you want console output, you should include iostream, but if you don't need to interact with the console, there is no need to include it.
1st Dec 2016, 2:09 PM
David Barzi
David Barzi - avatar
0
If you are writing a GUI appplication or an application which reports status via TCP, iostream is useless since you don't use the console.
1st Dec 2016, 3:19 PM
David Barzi
David Barzi - avatar