C++ Write a LEX program that does the following: 1. Reads a C++ program, numbers all lines. 2. Finds all identifiers in the program. 3. Lists all identifiers that are NOT C++ keywords, and the line or lines on which each identifier appears. NOTES: – Each identifier name should appear only once in the list. – Anything inside a comment (// or /* … */) should be ignored. – Although not mandatory, a sorted list of identifiers is easier to check. – You do not have to check for correct C++ syntax; however text that does not match the definition should be ignored (e.g. numbers, bad variable names, garbled text). OUTPUT: 1. Program listing with line numbers. 2. List of identifiers with line(s) on which each identifier appears. DELIVERABLES: Program source code, with internal documentation Test results
We employ a number of measures to ensure top quality essays. The papers go through a system of quality control prior to delivery. We run plagiarism checks on each paper to ensure that they will be 100% plagiarism-free. So, only clean copies hit customers’ emails. We also never resell the papers completed by our writers. So, once it is checked using a plagiarism checker, the paper will be unique.
FALL 2018 HOMEWORK HELP| ASSIGNMENT HELP,…