Simple Lexical Analyzer (for C#), C++