My program was working while it was an untitled file. I saved it as a .C file and then the output stopped changing. I messed around with the program and re-ran it but the output remained the same. If I save and close the file, the output updates to the last saved program but then its the same problem all over again. If I select all the code and run it the output is correct but its annoying to do
program at time of saving:
#include <stdio.h>
#include <math.h>
int main()
{
printf("hello world");
}
output:
[Running] cd “e:C_files” && gcc Engine_Balencing.c -o Engine_Balencing && “e:C_files”Engine_Balencing
hello world
[Done] exited with code=0 in 0.181 seconds
altered program:
#include <stdio.h>
#include <math.h>
int main()
{
printf("hello world__3");
}
output:
[Running] cd “e:C_files” && gcc Engine_Balencing.c -o Engine_Balencing && “e:C_files”Engine_Balencing
hello world
[Done] exited with code=0 in 0.181 seconds
[Running] cd “e:C_files” && gcc Engine_Balencing.c -o Engine_Balencing && “e:C_files”Engine_Balencing
hello world
[Done] exited with code=0 in 0.192 seconds
entropy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.