Codelite run .c program no output
Posted: Wed Mar 04, 2015 12:10 am
I am using [Codelite 7.0](http://codelite.org/) for C programming. These are the steps that I followed to execute a `.c` program:
* `Workspace`-->`New Workspace`-->`C++ Workspace`
* `Workspace`-->`New Project`-->`Console`-->`gcc`
* `Compiler`-->`gnu gcc`
* `Debugger`-->`GNU gdb debugger`
* `Build`-->`Build Project`
* `Build`-->`Compile Current File`
* `Build`-->`Run`
Here is my `.c` program (a 'Hello World'): http://pastebin.com/gcv7W2tp
#include <stdio.h>
int main(int argc, char **argv)
{
printf("hello world\n");
return 0;
}
When I click run there is no output in the command prompt, which is weird.
How can I fix that?
* `Workspace`-->`New Workspace`-->`C++ Workspace`
* `Workspace`-->`New Project`-->`Console`-->`gcc`
* `Compiler`-->`gnu gcc`
* `Debugger`-->`GNU gdb debugger`
* `Build`-->`Build Project`
* `Build`-->`Compile Current File`
* `Build`-->`Run`
Here is my `.c` program (a 'Hello World'): http://pastebin.com/gcv7W2tp
#include <stdio.h>
int main(int argc, char **argv)
{
printf("hello world\n");
return 0;
}
When I click run there is no output in the command prompt, which is weird.
How can I fix that?