Display return code
Posted: Mon Mar 30, 2020 9:02 pm
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:
and saw that the output pane doesn't display the return value
as displayed bellow:
Is there a way to display the return code like (Program exited with return 0)?
Thanks for the help.
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;
}
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
Thanks for the help.