C++ Help
Hey, I'm making a program in C++ I know the basics of C++, well I know enough to do what I'm doing. My problem is, when I use system I get an error saying: implicit declaration of function `int system(…)'
I've used the system command before and I don't know what's wrong with it, any help will be appreciated very much.
DarkPanther
Well, most compilers (that I've used anyways) still provide the system() command without ever having to include any header file besides <iostream>. The header file you included should not have affected it all seeing as the <cstdlib> header file handles process control as well as others, which means it is responsible for the system() command. As for system_meltdown's suggestion, well we all know he means well, but in the end it is practically useless and would just bloat your program with an un-needed inclusion.
http://www.cplusplus.com/ref/cstdlib/
~T