让我们假设 C 程序中有下一个代码片段:
#ifdef USE_FORK CODE... #else phtread_t thread; pthread_create(&thread,NULL,clientDispatch,&client); #endif
你能解释一下这些指令是什么吗,ifdef、else、endif。当我们使用 C 指令时会发生什么?
c
c ×1