Trying to create a linked list, what am i doing wrong?
Question: Trying to create a linked list, what am i doing wrong?
( Back )
Answer #1:
your enter1 is a pointer
you have to instantiate your object
try this:
1)
passwords enter1;
//and then use "." instead of "->"
2)
passwords *enter1 = new passwords();
** Powered by Yahoo Answers