C++ Miles Program

This is a discussion on C++ Miles Program within the C++ Programming forums, part of the General Programming Boards category; I need help with this program. I'm compiling in Visual C++
Code:
#include "stdafx.h"
#include <iostream>
float getdata();
using namespace ...

I changed the codes: <iostream> is normally stored in the C:\Program Files\Microsoft Visual Studio 8\VC\include folder. First check if it is still there. Then choose Tools + Options, Projects and Solutions, VC++ Directories, choose "Include files" in the "Show Directories for" combobox and double-check that $(VCInstallDir)include is on top of the list.