DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+5 =
Submit