As everyone has pointed out, you are never setting the Vendor info for the private variable m_Supplier in your Product class.
You do realize that the Vendor variable instanced named m_Supplier that you create in main.cpp on line 42, is not the same instance as the private member variable in your product class, correct?
Bookmarks