Sometimes the sprintf function is not available in the source code under test.
In this case, you can fix the problem by adding the following code to the cstfx.h file in the Controller Tester installation path.

Example cstfx.h path: C:\Program Files\CodeScroll Controller Tester 3.1\plugins\com.codescroll.ut_3.1.2\target\lib\controller_nc\cs_tfx.h

Add

int sprintf(char* str, const char* format, ...);

to line 210 of the cs_tfx.h file

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.