msvcr80.dll crash in first project (c++)

Trying to compile the simple code given in the first lession in the manual (using c++ and mvs)
It compiles fine, but crashes on startup with this note:

Unhandled exception at 0x7814507a (msvcr80.dll) in pview.exe: 0xC0000005: Access violation reading location 0x00133000.

Any suggestions?

I don’t trust the C++ portion of the manual. I don’t know if it’s being maintained.

@Josh: Yes, most of the C++ stuff is being maintained.

I think the error is not a code problem (all the C++ examples compile fine here), but more like a compile problem. Can you describe what you are using? What Windows version? Which compiler version? What are you using as compiler paths/options?