> :: Thanx for the response. Since I am learning VC++ (I am familiar
> :: with VB.Net), I would appreciate it if you can tell me what that
> :: file was for and why do you think the author forgot to mention it?
>
> I don't think the author forgot to mention this file. This is VC specific.
> The name of the book the OP was using started with "Visual C++", so that
> would seem to be a rather serious oversight. Probably the new project
> wizard has changed since the book was written, so it wasn't clear to the
> OP that the "Empty Project" option needed to be checked.
I'd like to see that book, as the oversight covers previous versions of
Visual Studio going back to VS 6. Our beginning C++ students are instructed
to *always* create empty Win32 console projects, then add a source code
file. We've used that procedure since VC 6 to avois the issue experienced by
the OP.
Possibly the OP missed the Empty Project step in the book?
Ben Voigt [C++ MVP] - 15 Aug 2007 20:25 GMT
>> The name of the book the OP was using started with "Visual C++", so that
>> would seem to be a rather serious oversight. Probably the new project
[quoted text clipped - 7 lines]
> experienced by the OP.
> Possibly the OP missed the Empty Project step in the book?
IIRC, no precompiled headers was the default in prior versions of VC, you
had to request skeleton code.
PvdG42 - 15 Aug 2007 22:42 GMT
> IIRC, no precompiled headers was the default in prior versions of VC, you
> had to request skeleton code.
I have no installations of VS 2003 or earlier to help me remember, but we
instructed students to create empty projects in versions earlier than VS
2005 to avoid entanglements with some sort of code shell, I thought. Could
be my memory is bad, though :)
Anil Gupte - 19 Aug 2007 05:09 GMT
Sorry, I have been away.
Yes, you are absolutely right - Mea Culpa. I overlooked the "Check the
Empty Project box" instruciton. It was at the top of the page and I just
glazed....
:-)
Thanx all!

Signature
Anil Gupte
www.keeninc.net
www.icinema.com
>> The name of the book the OP was using started with "Visual C++", so that
>> would seem to be a rather serious oversight. Probably the new project
[quoted text clipped - 7 lines]
> experienced by the OP.
> Possibly the OP missed the Empty Project step in the book?