Lexer: Responsible for reading and tokenizing the input C++ source code. Token: Represents individual units of the source code, such as keywords, identifiers, punctuations etc. Functionality: The ...
C++ code is written into a text file, that's all a cpp file is a text file. The compiler takes our C++ files and converts them into object files (.obj files or .o files) which is then passed on to the ...