セクション 3. 章 3
single
Practical Use Cases
メニューを表示するにはスワイプしてください
What are #ifdef and #ifndef
#define DEBUG_MODE
#ifdef DEBUG_MODE
printf("Debugging is enabled!\n");
#endif
#ifndef RELEASE_MODE
printf("Running in development mode.\n");
#endif
Error macro
タスク
スワイプしてコーディングを開始
- Use the necessary macro to check the existence of
PROTOCOL_TCPandPROTOCOL_UDP, and don't forget to properly close the necessary macro. - Use a macro to check the values of the
PROTOCOL_TCPandPROTOCOL_UDPmacros, and correctly close it. - Use a macro to check an additional condition.
- Use a macro to create an error message in case of an error.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 3. 章 3
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください