Write a program to scan a program and identify tokens (identifiers, keywords, numbers) in it.
- compile
g++ scan.cpp -o scan
- run
./scan program.txt
- Input (file:program.txt) - Enter a simple program
- Some operators not supported yet:
&&
,||
,!
,&
,|
etc.