Define a class Variables. It should contain the variable name, its type, the index in the symbol table, and constructors and destructors. Inherit that into SystemVariable and UserVariable. SystemVariable indicates the system process that has generated that variable. UserVariable indicates the user id that initiated that variable. Defi ne CompilerVariable as multiple inherited from SystemVariable and UserVariable. Defi ne a pointer to Variable class and use dynamic_cast to downcast it to a variable of type SystemVariable. Provide error messages if dynamic_cast fails. (It fails when the pointer is not actually pointing to SystemVariable class.)

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!