Quote:
I don't know the instructions of cpp language
It's time to learn, then. You are lucky: that's very
C
-like code. You have basically to replace
new/delete[
^] calls with
malloc/free
ones, some output streams statements with corresponding
C
standard
printf
calls and very little else.