Hi people,
Can anyone helps me out. I need use C++ to do this:
"Use polymorphism to build an object which can be stored in a datastructure such as an stl::map but uses polymorphism to perform different actions depending upon the type. You may find an stl::map is also useful to maintain a list of vairables. Your interpreter should recognise the commands PRINT, LET, GOTO, INPUT. Use overloaded input/output operators to read in the content of the file."
anyone can give me some ideas how to do it. Thanks a lot!!!