Hello, im starting out in c++ and i want to know why this code prints out base
struct base
{
virtual void foo(void){
cout<<"base"<<endl;
}
}
struct derived : base(void)
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: tpopono Search: Search took 0.01 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |