if the code is being run and compiled in SSH SECURE SHELL then after saving the file use command below:
- lex.program_file_name.l
- cc lex.yy.c
- ./a.out
and if cmd is being used:
- flex program_file_name.l
- gcc lex.yy.c
- a.exe (the exe file of that given program will be created within the folder)
Commands to access your repo within SSH SECURE SHELL:
- cd repo_name (if repo exists) else mkdir repo_name (to create new repo)
Commands to create a specific extension file within repo:
- nano file_name.extension (e.g program1.lex)