Display return code

CodeLite installation/troubleshooting forum
Andreze
CodeLite Curious
Posts: 1
Joined: Mon Mar 30, 2020 7:29 am
Genuine User: Yes
IDE Question: C++
Contact:

Display return code

Post by Andreze »

Hello,
I'm as student learning C and this is my first time using codelite.
I am using CodeLite 14.0.0 on a windows 10 pc and MinGw64 to compile the project.
I was trying to run a simple hello world program:

Code: Select all

#include <stdio.h>

int main()
{
	printf("hello world\n");
	
	return 0;
}
and saw that the output pane doesn't display the return value
as displayed bellow:

Code: Select all

Working directory is set to: E:\Work\build-Debug\lib
Executing: cmd /C  call E:\Work\build-Debug\bin\Work.exe && pause
Program exited
Is there a way to display the return code like (Program exited with return 0)?
Thanks for the help.