I'm working on a simple program for a C++ programming class. He's teaching C++ in Visual Studio 6.0 but I'm using Visual Studio .NET to write my program. Here is what I have so far:
I get an error that says:Code:/* Program Name: Pgm 12 - Pg 74.cpp Date: 12-19-2003 */ #include <iostream.h> int main(void) { double firstNum = 105.62; double secNum = 89.352; double thirdNum = 98.67; //Display screen setup cout << "First Number: " << firstNum << endl << "Second Number: " << secNum << endl << "Third Number: " << thirdNum << endl; return 0; } // end main
What exactly is the difference in the header section for VS 6 vs. .NET?------ Build started: Project: Pgm 12 - Page 74, Configuration: Debug Win32 ------
Compiling...
Pgm 12 - Pg 74.cpp
Pgm 12 - Pg 74.cpp(29) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Build log was saved at "file://c:\Documents and Settings\vatterott\My Documents\Visual Studio Projects\Pgm 12 - Page 74\Debug\BuildLog.htm"
Pgm 12 - Page 74 - 1 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped



LinkBack URL
About LinkBacks


