使用vc的请注意这个问题:From the Project menu, choose Add To Project > Files. Choose MapX.cpp as the file to add.
Caution! Do not choose Project > Components And Controls command. Doing so would create a .cpp file, but it would be incomplete. 在帮助上看到的,大家一定要注意啊!!