Go to your codeblocks installation directory:
Then go to \share\CodeBlocks\templates\wizard\console\cpp
Just modify the main.cpp file
Original address: https://blog.csdn.net/article/details/80038300
Then go to \share\CodeBlocks\templates\wizard\console\cpp
Just modify the main.cpp file
Original address: https://blog.csdn.net/article/details/80038300