简体   繁体   中英

How to change compiler in C++ IDE codeblocks or dev c++?

I have taken up few challenges on codechef and the code is giving correct output in local system and not on codechef. I found out the reason of this behavior was compiler difference. Different outputs compiler wise. Can anyone please tell me the steps to change the compiler in my IDE? so that whatever I code is synchronized with all my competitive programing challenges.

You have to install the compiler you want to use then link the path of it in the IDE https://medium.com/@yzhong.cs/code-blocks-compile-64-bit-under-windows-with-mingw-w64-79101f5bbc02

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM