I am learning C++ in school now. Currently using C++ with codeblocks on my windows vista laptop. I noticed whenever I try to use functions from imported classes from the Clibrary I get an error in the console.
" 'hi' is not recgonized as internal or external command, operable command or batch file "
My code looks like this ...
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
system("hi");
return 0;
}
Just something simple you can see, however I am getting that error. I can use the iostream fine, I have tested the io include and that works... is there something else I need to install to be able to use the cstdlib?
Thank you, Zach Smith