You can compile your own standard pure C code to dll file and upload converted dll file to the virtual robot. With that, you will be able to test your program by examining the robot’s performance.
The code is required to obey the C language grammar specification, not C++.
A function must be defined before it is used, and nested functions within a function are not allowed.