my current bot was written on xp and visual studio 6. recently I plan to upgrade to window 10. so I downloaded visual c++ 2019, which can not compile the sample code downloaded from interactivebrokers. I tried to run those sample codes in visual 2012, 2013, 2015,2017, none of them solved the problem. I remember I successfully ran the sample under visual c++ 2017 on window 7, but still with tons of warnings. window 7 is out of support from microsoft, so anyone successfully ran tws c++ api on window 10?
c++ is so hard to maintain, every several years, the new version of ide can not compile prior version. instead, I had a large java project which I wrote in 2019-2020, it can still compile and run as 20 years ago. on the other hand, it is hard to understand other people's c++ codes, while java is much better to understand. people have stereotype notion that java runs slower , so traders tend to choose c++ for the sake of speed. but it is not anymore. I did test comparing java and c++ on scientific computations, java is faster.
c++ is so hard to maintain, every several years, the new version of ide can not compile prior version. instead, I had a large java project which I wrote in 2019-2020, it can still compile and run as 20 years ago. on the other hand, it is hard to understand other people's c++ codes, while java is much better to understand. people have stereotype notion that java runs slower , so traders tend to choose c++ for the sake of speed. but it is not anymore. I did test comparing java and c++ on scientific computations, java is faster.
Last edited: