Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (true){
- MyType currentPos = getPos();
- MyType newPos = doCalculationsOnPos(currentPos);
- adjustWheel(newPos);
- }
- while (true){
- MyType currentPos = getPos();
- System.gc();
- MyType newPos = doCalculationsOnPos(currentPos);
- System.gc();
- adjustWheel(newPos);
- }
- extern "C"
- int hi(int p){
- typeO* a = new typeO(p)
- int returnVal = a.doWork();
- delete a;
- return returnVal;
- }
Add Comment
Please, Sign In to add comment