I am very new to programming, only just taking my first steps.
I downloaded codelite after a teacher's suggestion, and tried to run the usual "Hello, World" program to get things started.
The problem is that, even though the program is correct (posted it below just in case) and the build detects no errors, I after I run it, I get a cmd window that doesn't have the "Hello, World" it should. It just reads "press any button to continue".
I tried this with another program, one to calculate the square roots of numbers, which still has the same issue.
Any ideas?
Here's the program for reference.
Code: Select all
#include <stdio.h>
int main(void)
{
printf("Hello World\n");
return 0;
}
My build output is the following.
C:\Windows\system32\cmd.exe /C "mingw32-make.exe -j 2 -e -f Makefile"
'mingw32-make.exe' ¤ ¤¤à¨å« ઠ©à«¨ ¡ã 㠥૨ ¡ã ¤«¦¢ã,
¡«¢â© £¦ §¨æ¨££ ã ¨®å¦ â©£ª ¤¨ é¤.
0 errors, 0 warnings