Hope someone can help me with this little problem as I am not getting at all. First, heres the code:
#include<string> #include<iostream> #include<Windows.h> using namespace std; extern "C" { #include<hidsdi.h> #include<SetupAPI.h> } int main() { int iQuit; cout << "Testing Program" << endl; return 0; }
This will not allow me to use the std file (i.e. cout, cin, endl, etc.). This will allow me to use it when I take out all the external C codes ... Why? And is there a way around this?
EDIT: Sorry, forget to tell you the exact error: it says the identifier "cout" is undefined
thanks
Danny source share