I just want that robot to work because it's cool(!) to let it work no more than that.
SOLUTION: Buy a robot (not a kit)
But oke(?), after the teacher gives me(t) the code tomorrow i will learn some c++.
SOLUTION: Giving you the code won't help you learn any more than what we have already done.
You need to put down your phone/facebook, and get into studying the references.
"tomorrow i will learn some c++"
If you're that keen to learn some C++, just go to the shop and buy some.
Even the plain old C will help you through this... available at most milk bars.