Hi im creating a linked list with these data types
etc
string firstname
string surname
int age
would anyone give a simple instruction to put these in a new node as i have tried everything but still doesnt work so far i have done this
nodeType first,newNode, *last;
cout<<"Name: ";
cin>>name;
cout<<"Surname: ";
cin>>surname;
cout<<"Age: ";
cin>>age;
setVideoInfo(name,surname,age);
first=NULL;
newNode = new nodeType; // create new Node
newNode->info =(name,surname,age) ;
*This is not all of it but i know the problem lies in the lines above any help would be much appreciated
Thankyou*