1 |
bearsoft |
1.1 |
//#include "Classes/Memory/mman.h" |
2 |
|
|
#include "Classes/Examples/String/StringTest.h" |
3 |
|
|
#include "Classes/Examples/NetWork/ServerTest.h"
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
//#include "Classes/Examples/String/StringTest6.h" |
7 |
|
|
//#include "Classes/Examples/String/StringTest7.h" |
8 |
|
|
//#include "Classes/Examples/String/StringTest8.h" |
9 |
|
|
//#include "Classes/LightwaveEngine/LwoReader.h" |
10 |
|
|
//#include "Classes/Examples/Binary/BinaryTest.h" |
11 |
|
|
//#include "Classes/Examples/LinkedList/LinkedListTest.h" |
12 |
|
|
//#include "Classes/System/System.h" |
13 |
|
|
//#include "Classes/Examples/Array/ArrayTest.h" |
14 |
|
|
//#include "Classes/Examples/Array/ArrayTest2.h" |
15 |
|
|
//#include "Classes/Examples/Array/ArrayTest3.h" |
16 |
|
|
//#include "Classes/Examples/Array/ArrayTest4.h" |
17 |
|
|
//#include "Classes/Memory/SystemMemoryManager.h" |
18 |
|
|
//#include "Classes/Examples/NetWork/NetWorkTest.h" |
19 |
|
|
//#include "Classes/Program/LW3dEngine/Lw3dEngine.h"
|
20 |
|
|
|
21 |
|
|
//using namespace std;
|
22 |
|
|
//http://www.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html
|
23 |
|
|
|
24 |
|
|
int main()
|
25 |
|
|
{
|
26 |
|
|
|
27 |
|
|
ServerTest *serverTest = new ServerTest();
|
28 |
|
|
|
29 |
|
|
serverTest->run();
|
30 |
|
|
|
31 |
|
|
delete serverTest;
|
32 |
|
|
|
33 |
|
|
/*
|
34 |
|
|
Lw3dEngine *lw3dEngine = new Lw3dEngine();
|
35 |
|
|
|
36 |
|
|
lw3dEngine->run();
|
37 |
|
|
|
38 |
|
|
delete lw3dEngine;
|
39 |
|
|
*/
|
40 |
|
|
/* |
41 |
|
|
ArrayTest4 *arrayTest2 = new ArrayTest4(); |
42 |
|
|
|
43 |
|
|
arrayTest2->run(); |
44 |
|
|
|
45 |
|
|
delete arrayTest2; |
46 |
|
|
*/ |
47 |
|
|
/* |
48 |
|
|
ArrayTest *arrayTest = new ArrayTest(); |
49 |
|
|
|
50 |
|
|
arrayTest->run(); |
51 |
|
|
|
52 |
|
|
delete arrayTest; |
53 |
|
|
*/ |
54 |
|
|
/* |
55 |
|
|
StringTest *stringTest = new StringTest(); |
56 |
|
|
|
57 |
|
|
stringTest->run(); |
58 |
|
|
|
59 |
|
|
delete stringTest; |
60 |
|
|
*/ |
61 |
|
|
/* |
62 |
|
|
StringTest6 *stringTest = new StringTest6(); |
63 |
|
|
|
64 |
|
|
stringTest->run(); |
65 |
|
|
|
66 |
|
|
delete stringTest; |
67 |
|
|
*/ |
68 |
|
|
/* |
69 |
|
|
LwoReader *lwoReader=new LwoReader(); |
70 |
|
|
|
71 |
|
|
lwoReader->run(); |
72 |
|
|
|
73 |
|
|
delete lwoReader; |
74 |
|
|
|
75 |
|
|
*/ |
76 |
|
|
/* |
77 |
|
|
BinaryTest *binaryTest = new BinaryTest(); |
78 |
|
|
|
79 |
|
|
binaryTest->run(); |
80 |
|
|
|
81 |
|
|
delete binaryTest; |
82 |
|
|
*/ |
83 |
|
|
/* |
84 |
|
|
LinkedListTest *linkedListTest = new LinkedListTest(); |
85 |
|
|
|
86 |
|
|
linkedListTest->run(); |
87 |
|
|
|
88 |
|
|
delete linkedListTest; |
89 |
|
|
*/ |
90 |
|
|
/* |
91 |
|
|
StringTest7 *stringTest = new StringTest7(); |
92 |
|
|
|
93 |
|
|
stringTest->run(); |
94 |
|
|
|
95 |
|
|
delete stringTest; |
96 |
|
|
*/ |
97 |
|
|
|
98 |
|
|
// DumpMemoryStatus("1234.txt"); |
99 |
|
|
// DumpMemoryStatusDebug(false); |
100 |
|
|
|
101 |
|
|
return 0; |
102 |
|
|
} |
103 |
|
|
|
104 |
|
|
|