Turn on DEBUG in C sources files
1 2 // 3 // Turn on debugging if desired. 4 // 5 char* env_ptr = getenv("DEBUG"); 6 if (env_ptr != NULL && toupper(*env_ptr) == 'Y') 7 { 8 SET_ZFLAG(ZFLAG_DEBUG_EVERYTHING); 9 }
12750 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
1 2 // 3 // Turn on debugging if desired. 4 // 5 char* env_ptr = getenv("DEBUG"); 6 if (env_ptr != NULL && toupper(*env_ptr) == 'Y') 7 { 8 SET_ZFLAG(ZFLAG_DEBUG_EVERYTHING); 9 }