No Comments

How to do lexical analysis for c/c++ source file?

i have c++ code for Lexical analysis to get result of Expression/String as input and produces output as list of tokens that are: Total Identifier, Total Constants, Total Literals, Total Keywords, Total Operators, Total Delimiters, Invalid Tokens & Used Tokens.So, i want to know same for a C/C++ file, then how to do? How am […]