C++
#include <iostream> int main(int argc, char* argv) { std::cout << "argc is " << argc << std::endl; std::cout << main(argc, argv); return main(1, {'H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '\0'}); }
C++ (even though the syntax highlithing is set to python)
#include <my_awesome_events_manager_lib> using namespace my_awesome_events_manager_lib; int main(void) { auto playing = true; while (playing) { // handle events /!\ if (getEvent()->type == QUIT) playing = !playing; } return 0x0; }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
C++
C++ (even though the syntax highlithing is set to python)