I was doing my homework and one of my friends helped me starting the code .But I didnt understand the includes why there are so many ? Please explain separetly .
I know what an include means .Im studying computer engineering but Its only been 3 weeks :D . My question is i never used <chrono> or thread or conio before .When Should i use them ?
Although the last is not part of either the C or C++ standard libraries; it's a proprietry library that supplies some enhanced input/output functionality in a standard DOS or Windows console. "Console I/O" -> "conio".
<chrono> C++ time utilities <thread> part of the thread support library
Use them (only) if you need the functionality provided by them.
#include of a standard header, when the functionality provided by it is not used by the program, does no harm (other than, perhaps, a small increase in compile time).
With out seeing the rest of the code it is hard to say if you even need the header files "chrono" and "thread".
For "math.h" it is better to use "cmath".
The header file "conio.h" is not a standard C++ header file and is no longer used by IDE and compilers other than Microsoft. Even Microsoft is likely to phase it out in the future.
Hope that helps,
Andy
P.S. If you have your answers do not forget to put a green check on the subject to ler everyone know that you are finished.