i'm writing a News class and their subclasses but i have a problem with that function.it tells me that function(virtual string ToFileFormat() ) must convert the news to a string that holds the file format of that news.(File format of each news are given after the class definition)And this function is a virtual function and in every sub-classes i must implement them and in abstracted class of course.is there any const. implementetion for these functions.Basicly i didnt understand its sense.i haven't got any time to finish that program but i cant going on.can anyone tell me about that function.Basicly, what it is doing and how it seems like.thank you...
c++34 0 Newbie Poster
Ravalon 62 Posting Whiz in Training
c++34 0 Newbie Poster
Ravalon 62 Posting Whiz in Training
c++34 0 Newbie Poster
Ravalon 62 Posting Whiz in Training
John A 1,896 Vampirical Lurker Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.