Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a new class to SDI appilcation

Status
Not open for further replies.

saranam

Programmer
Jan 10, 2003
6
IN
Hello,
I want to add my own written new class to an SDI application
in vc++.I created a header and implementation file
and included with my project.But when i am compiling thet it gaves me an error(fatel) saying that unexpected end of file.What could be the problem?
Expecting u r help
Pran
 
You forgot to include the following line in the .cpp file (I think):

#include "stdafx.h"

Either include this, or go to the project settings and switch of precompiled headers for that .cpp file.
Greetings,
Rick
 
LazyMe is probably right. I had a similar problem not long ago, and this was the solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top