main.c 639 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * 1 - Pointer
  3. * 2 - Line list
  4. * 3 - Delegate
  5. * 4 - Derective //òóò è íà çàãîëîâêè
  6. * 5 - ðàáîòà ñ ôàëàìè â ñè
  7. * 6 - ðàáîòà ñ ôàéëàìè win api
  8. * 7 - ðàáîòà ñ ïîöåññàìè
  9. * 8 - ðàáîòà ñ ïîòîêàìè ïðî ÷àñèêè
  10. */
  11. #define COUNT_WORK 8
  12. int main()
  13. {
  14. system("chcp 1251>nul");
  15. #if (COUNT_WORK == 1)
  16. startWorkWithPointer();
  17. #elif (COUNT_WORK == 2)
  18. startWorkWithLinelist();
  19. #elif (COUNT_WORK == 3)
  20. startWorkWithDelegate();
  21. #elif (COUNT_WORK == 4)
  22. startWorkWithDerective();
  23. #elif (COUNT_WORK == 5)
  24. startWorkWithCFile();
  25. #elif(COUNT_WORK == 7)
  26. startWorkWithProcess();
  27. #elif(COUNT_WORK == 8)
  28. startWorkWithClock();
  29. #endif
  30. return 0;
  31. }