Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ watch a variable

// prints the variable name and value
#define watch(x) cout << (#x) << " is " << (x) << endl;
 
PREVIOUS NEXT
Tagged: #watch #variable
ADD COMMENT
Topic
Name
3+5 =