DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ function as param
int
do_sth
(
int
a
,
int
b
,
function
<
int
(
int
,
int
)
>
binop
)
{
// C++ - Like
return
binop
(
a
,
b
)
;
}
PREVIOUS
NEXT
Tagged:
#function
#param
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit