View Single Post
Re: monstermaker tweak
Old
  (#8)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: monstermaker tweak - 08-04-2004

"How do I share the class monstermaker in barney.cpp?"

Create a monstermaker.h file and put the CMonsterMaker class definition in it.

Include monstermaker.h at the top of monstermaker.cpp and include it at the top of barney.cpp. For both of these, include it AFTER all the other existing include files.

botman
  
Reply With Quote