View Single Post
Old Mar 22nd, 2006, 1:45 PM   #2
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 856
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
I still need help with using NULL instead of 0.

I have another question, as well: Why can I only initialize an object I have created with a 0 parameter constructor as follows:

LinkedList list;
And not

LinkedList list();
Since I have declared a 0 parameter constructor:

LinkedList::LinkedList()
  : front( 0 ) { }
titaniumdecoy is offline   Reply With Quote