Try using recording the choice in a string, then check for the length of the string as an error. that way it will detect when more then one character has been entered.
Type: Posts; User: Taverlisk
Try using recording the choice in a string, then check for the length of the string as an error. that way it will detect when more then one character has been entered.
With all the extra features of C++, doesnt it mean it will come with lots of extra baggage making programs larger and slower?
I have altered your collect function, you should find the nodes are deleted correctly now
void collect( struct node *head ) {
struct node *current = head;
struct node *p;
It seems to me your trying to pass data into a structure definition. You must declare an instance of the structure first.
Try this :
structure definition
struct information {
int...