Guest User

Untitled

a guest
Jan 19th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. while (true){
  2. MyType currentPos = getPos();
  3. MyType newPos = doCalculationsOnPos(currentPos);
  4. adjustWheel(newPos);
  5. }
  6.  
  7. while (true){
  8. MyType currentPos = getPos();
  9. System.gc();
  10. MyType newPos = doCalculationsOnPos(currentPos);
  11. System.gc();
  12. adjustWheel(newPos);
  13. }
  14.  
  15. extern "C"
  16. int hi(int p){
  17. typeO* a = new typeO(p)
  18. int returnVal = a.doWork();
  19. delete a;
  20. return returnVal;
  21. }
Add Comment
Please, Sign In to add comment