Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Test
#include <iostream> #define FOO #define BAR defined(FOO) int main() { #if BAR std::cout << "BAR enabled!" << std::endl; #else std::cout << "BAR disabled!" << std::endl; #endif return 0; }
run
|
edit
|
history
|
help
0
assaa
success
Program_2
Type deduction in VC++
Permute
C++ MSVN Compiler Type Check
Why is vsnprintf Not Writing the Same Number of Characters as strncpy Would?
wall
rang_warnings
ntohl