rekahsoft
February 20th, 2007, 08:22 PM
I have been struggling with making a text query. I am going around in circles on how i should design it. It should support full regex and expressions. I was before struggling with how virtual works, and all the implications of using it. How would u go about designing a C++ text query? I am pretty stuck on this, i am new to C++ and virtual, class design, and visibility are confusing me. Correct me if i am wrong:
virtual is used for dynamic binding. So if i where to have a base class called base and it was required as an argument for a unnamed function i could pass a child of the base class (as a pointer or reference) and the child would be striped and i would be able to use any visible functions or variables?
virtual is used for dynamic binding. So if i where to have a base class called base and it was required as an argument for a unnamed function i could pass a child of the base class (as a pointer or reference) and the child would be striped and i would be able to use any visible functions or variables?