Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ Legacy
Function
Legacy
04.06-downWithDebug0/main.cpp:8–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
#define DEBUG 1
7
8
void Legacy()
9
{
10
#ifdef DEBUG
11
std::cout <<
"Debugging is enabled\n"
;
12
#endif
13
}
14
15
void Better()
16
{
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected