Main Page   Packages   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

main.cpp

Go to the documentation of this file.
00001 /*
00002  * $Id: main.cpp,v 1.3 2002/08/09 09:32:36 virtualcasino Exp $
00003  * Here's where the whole thigs starts :-)
00004  */
00005 #include<clawsoft.h>
00006 #include<Server.h>
00007 #include<Client.h>
00008 #include<Bingo.h>
00009 /*#include<Library.h>
00010 #include<Random.h>*/
00011 using namespace clawsoft;
00012 
00013 #ifndef VERSION
00014 #define VERSION "$Revision: 1.3 $"
00015 #endif
00016 SharedVar<int> counter;
00017 
00018 int main(int argc, char *argv[]){
00019         cout << "Virtual Casino version: " << VERSION << endl;
00020         Server vcasino(12345);
00021         counter.setValue(0);
00022         vcasino.init();
00023         vcasino.start(argc, argv);
00024         vcasino.cleanup();
00025 }

Powered by:

SourceForge Logo