Posted By: 7th_zorro
printf compilation error when using visual c++ - 02/02/20 08:47
Hi,
When using visual c++ for strategy developement, "printf" cause some compilation error.
#include <zorro.h>
In this zorro.h header file, there is a definition as below.
#define printf _printf
This cause visual c++ compile error, so I comment this, then it seems ok.
But to display logs to zorro output window, This line may be needed.
How to solve this problem?
When using visual c++ for strategy developement, "printf" cause some compilation error.
#include <zorro.h>
In this zorro.h header file, there is a definition as below.
#define printf _printf
This cause visual c++ compile error, so I comment this, then it seems ok.
But to display logs to zorro output window, This line may be needed.
How to solve this problem?