Search Results

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: n4naeem ; Forum: C++ and child forums
Forum: C++ Oct 21st, 2008
Replies: 5
Views: 1,406
Posted By n4naeem
there could be two type of problem here i can see !

First

template <class D>SLList<D> SLList<D>&::operator+(SLList<D> ob2) {
return this+obj2;
}

Return type should be Reference to...
Forum: C++ Oct 21st, 2008
Replies: 5
Views: 1,406
Posted By n4naeem
template <class D>SLList<D> SLList<D>::operator+(SLList<D> ob2) { return *this;}

for this funtion u have to traverse all the lists and add them up !

this return status just returning the one...
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC