- Tested in Ubuntu VM.
- There are no required packages needed to be installed first in order to compile.
gcc main.c
will 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": true
is set, meaning there are EOLs.C/C++
Module by Microsoft is installed. Theformat document
function in it is used before saving in this repo.CTRL + SHIFT + I
for UbuntuALT + SHIFT + F
for Windows