By the way I tried compiling the same code from command prompt and executed the code. It ran successfully. Followed the instructions specified at "
http://www.cprogramming.com/borland.html" to compile cpp code from cmd. Seems like it is a bug in CodeBlocks integration with Borland C++ compiler. Where should I raise this bug ? For the time being if I want to continue with C++ practicing on windows 10 which compiler would be the best choice on codeblocks ??
F:\Softwares\SWs Installed\Borland\BCC55\Bin>bcc32 "F:\Softwares\Documents\L_C & CPP\Examples\Example_1\main.cpp"
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
f:\softwares\documents\l_c & cpp\examples\example_1\main.cpp:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
F:\Softwares\SWs Installed\Borland\BCC55\Bin>main.exe
--- elements ---
Mary
Zach
Elizabeth
F:\Softwares\SWs Installed\Borland\BCC55\Bin>