I am able to change the default terminal of all the console applications in Window 7 to ConEmu using this answer and it was really great. Until now I was creating a C++ console application project in Code::Blocks and when I "compile and run" the project it opens a ConEmu terminal. But when I tried to run a single standalone C++ file (not creating a project) in Code::Blocks it opens a default Windows terminal, not the ConEmu terminal as in earlier case.
How can I change the default terminal to ConEmu even if I run a single file C++ program in Code::Blocks?
Some related details are: (1). I am using Code::Blocks 13.12, (2). I am using Windows 7, (3). I am using ConEmuSetup.151115.exe setup.