I am using Microsoft eMbedded Visual C++ and Anytime I compile my project it says iostream.h wasnt found. Im not sure if it does this in other occasions but can anyone please tell me why it shows this to me?
ok , im still not getting anywhere. Can you explain this namespace std thing? i had already tried using just #include<iostream> but i think im missing this namespace thing.
Namespaces are just a scoping tool to avoid name clashes. By saying namespace std, it means that if it cannot find a definition in the current namespace, it will also look for it in std namespace.
Just wondering: have you got the include paths set up correctly? Look at Tools/Options/Directories/Include. Does iostream exist in one of the directories listed? You should have at least VC98\include and VC98\atl\include
Im not sure what is wrong with my eMbedded c++ but i cannot fix it and this is really getting on my nerves. I have done everything you guys have suggested but still nothing is happening. it still wont find iostream! If anyoen has had this problem with eMbedded please tell me how to fix it.
Until then i will use dev++ , that seem to be working good.
Thanks Marine
Do a find in windows. See if you can pick up iostream or iostream.h from anywhere. Say the directory is C:\Program Files\Microsoft Visual Studio\VC98\include.
Start up VC++. Click on Tools/Options. A dialog will pop up. Click on Directories, select include in the combo. Make sure that this directory path is one of those listed in the listbox.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.