//flex table opened by JP

Click to See Complete Forum and Search --> : C++ Help


ericcbrown1
05-06-2008, 03:41 PM
Basically, I can program in C++... the problem is trying to do it on a non-school machine where I am not used to it.
I downloaded and installed Visual C++ EE 2008...
It seems like it is missing libraries or something, because i cannot
#include <fstream> or even using namespace std; doesn't seem to work..

I can't get anything to compile and run and it is driving me insane looking for a good tutorial with all the downloads pointed out.

I am sure a lot of people go through / have gone through exactly what I am right now.

Anyone have any spotted advice/tutorials to reference?

Sam Hobbs
07-01-2008, 01:26 AM
Anyone with a probem such as this with the use of Visual C++ (VC) and Visual Studio (VS) needs to spend a little time becoming familair with the VS IDE. The IDE menus provide help with getting help.

For the Express Edition, the Windows API needs to be installed separately, and that is clearly documented in the documentation and many other places.

That however does not explain why the fstream header is not found. I have seen many questions and answers in the MSDN VC forums (where this question is more likely to get answers) but I don't recall a problem using the standard classes and the standard headers such as fstream. It is not a common problem. Failure to read documentation however is an extremely common problem.