Subj : what target/platform to use To : borland.public.cpp.borlandcpp From : "Rob C." Date : Sun Oct 05 2003 11:10 am I copied this code out of a text book, but I didn’t work this module into a project, but instead just compiled and ran it. It runs fine. But, now, when I attempt to work it into a project (Target type: [Application], platform: [Win32]), I get a dialog box that says, ”You have accidentally used a dummy version of OwlMain.” Please, how can I fix this? #include #include class Queue { int Q[100]; int sloc, rloc; int who; public: Queue( int id ); ~Queue(); void Qput( int i ); int Qget(); }; Queue::Queue( int id ) { sloc=rloc = 0; who = id; cout << "Queue " << who << " intitialized\n\n"; } Queue::~Queue() { cout << "Queue " << who << " destroyed \n\n"; } void Queue::Qput( int i ) { if( sloc == 100 ) { cout << "Queue overflow"; return; } sloc++; Q[sloc]=i; } int Queue::Qget() { if( rloc == sloc ) { cout << "Queue overflow"; return 0; } rloc++; return Q[rloc]; } main() {//44 Queue a(1), b(2); a.Qput(10); b.Qput(19); a.Qput(20); b.Qput(1); cout << "Contents of Queue a & b : "; cout << a.Qget() << " "; cout << a.Qget() << " "; cout << b.Qget() << " "; cout << b.Qget() << " \n"; getch(); return 0; }//44 .