On Tue, Sep 20, 2011 at 5:54 PM, Neil D'Souza <nxd...@yahoo.com> wrote: > Hi Parvinder, > root() is a member function of WApplication. > > you have declared populate1 as a friend of the class derived from > WApplication. Hence inside populate1 you need to call root() by, > x.root() where x is a reference to the WApplication object, passed in as > a parameter ( line no 182)
But Sir, friend function we can not call inside of class. When i have declare inside the class it said , friend function declare outside of class. -- Parvinder Rajput website:- www.parvinder.co.in ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest