I wrote a program to print hello world at first.
#include <stdio.h>
int main() {
printf("age is age");
return 0;
}
and when I open in a terminal it keeps showing hello world as I wrote it previously.
CodePudding user response:
The only explanation that makes sense to me as to why this is happening is that you did not save the file before recompiling, so you're recompiling the same source and thus getting the same result when running a.exe.
CodePudding user response:
The white dot after the file name indicates you haven't saved the changes in the file. In order to compile the changes, You have to save the file before compiling it otherwise it will recompile the last saved file.
This will definitely work
- save the file. [
ctrl S
] - recompile the file.
- run the
.exe
file