- Tested in Ubuntu VM.
- There are no required packages needed to be installed first in order to compile.
gcc main.cwill produce an executable file. Default file name isa.out- Arguments for the executable will be the file(s) to be monitored.
- Example:
a.out main.c- The program will monitor the file
main.c. - Try to open the file / edit it / rename it or remove it, and see what the program outputs.
- The program will monitor the file
- Example:
- Source code files are edited using VS Code.
"files.insertFinalNewline": trueis set, meaning there are EOLs.C/C++Module by Microsoft is installed. Theformat documentfunction in it is used before saving in this repo.CTRL + SHIFT + Ifor UbuntuALT + SHIFT + Ffor Windows