You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sample.cpp 665 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // Lol Engine - Sandbox program
  3. //
  4. // Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
  9. //
  10. #if defined HAVE_CONFIG_H
  11. # include "config.h"
  12. #endif
  13. #include "core.h"
  14. class Moo
  15. {
  16. Moo() {}
  17. virtual int SetState(int state) { return state; }
  18. };
  19. using namespace std;
  20. using namespace lol;
  21. int main(int argc, char **argv)
  22. {
  23. /* Insert any test code here */
  24. return EXIT_SUCCESS;
  25. }