-
In C++, I use something like this DEBUG macro:코딩Coding/C++__C언어 2023. 2. 25. 23:52728x90
https://stackoverflow.com/questions/38141056/does-rust-have-a-debug-macroDoes Rust have a debug macro?
In C++, I use something like this DEBUG macro: #ifdef DEBUG #define DEBUG_STDERR(x) (std::cerr << (x)) #define DEBUG_STDOUT(x) (std::cout << (x)) #else #define DEBUG_STDERR(x) #define
stackoverflow.com
반응형'코딩Coding > C++__C언어' 카테고리의 다른 글
C++💕About A modern formatting library (0) 2023.03.03 C언어/C++공부하기 좋은 티스토리 (0) 2023.03.03 구글에서 제시하는 C++ Style Guide💕무조건 암기!! (0) 2023.03.02 14 Things C++ Programmers Never Say (0) 2023.02.26 C++11 test 하는 방법 (0) 2023.02.25 ld: symbol(s) not found for architecture arm64 (0) 2023.02.25 You Should Learn C++ (for hacking games) (0) 2023.02.25 Conan C/C++ Package manager (0) 2023.02.23