guys i need a help on virtual function on c++. what is a virtual function and how to use it, and what are the benifits of a virtual function

still no idea,,,,,,,,, i need to know what is the advantage of using a virtual function on a project ....
what are the specialism on virtual functions

Didn't you bother to read any of the links that Salem posted?

I see no reason to believe that copy/pasting an answer from one of the many web pages to here would be any better than you going and reading them yourself.

Go and read some of them, then come back with something like
"On the foo page (insert link), it says bar but I don't get why bar is important".