Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Callback
//Title of this code #include <iostream> using namespace std; void callback(int i) { cout << "callback " << i << endl; } void event(void(*func)(int), int i ) { func(i); } int main() { event(callback, 3); std::cout << "Hello, world!\n"; }
run
|
edit
|
history
|
help
0
Cpp update 1
Proyecto 1
Aplicatie-Proiect
GenericPacker
Temp
Stock buy/sell, maximum subarray problem
Policy based smart pointer
weird cast in qt moc files
next greater palindrome
Pruebas estocasticos