Code:hi ppl,,, i am new to programming,,, pls help me out... i need to access a private member function of a class witout using virtual or friend and i should not alter the class but i can do anything,, pls dont say #define private public ... try to give some better solution and help me here eg: class X { void show(){ } public: ........ }; i need to access that show() function witout modifying the class X help me out pls