123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /*
- * 1 - Pointer
- * 2 - Line list
- * 3 - Delegate
- * 4 - Derective //òóò è íà çàãîëîâêè
- * 5 - ðàáîòà ñ ôàëàìè â ñè
- * 6 - ðàáîòà ñ ôàéëàìè win api
- * 7 - ðàáîòà ñ ïîöåññàìè
- * 8 - ðàáîòà ñ ïîòîêàìè ïðî ÷àñèêè
- */
- #define COUNT_WORK 8
- int main()
- {
- system("chcp 1251>nul");
- #if (COUNT_WORK == 1)
- startWorkWithPointer();
- #elif (COUNT_WORK == 2)
- startWorkWithLinelist();
- #elif (COUNT_WORK == 3)
- startWorkWithDelegate();
- #elif (COUNT_WORK == 4)
- startWorkWithDerective();
- #elif (COUNT_WORK == 5)
- startWorkWithCFile();
- #elif(COUNT_WORK == 7)
- startWorkWithProcess();
- #elif(COUNT_WORK == 8)
- startWorkWithClock();
- #endif
- return 0;
- }
|