User profile: MikeyBoy

User info
User name:MikeyBoy
Bio:Professional C/C++ software developer.
Number of posts:2588
Latest posts:

Vending Machine
This: [code]if (current == 1 || current <= 8)[/code] is the same as writing: [code]if (current ...

Vending Machine
Look at this condition: [code]if (current == 1 && current <= 8)[/code] This is the same as writing:...

Linked List, implementation at Nth node
1) How can it be a compiler error if it's happening at run-time? 2) Have you tried stepping throu...

Linked Lists
Sorry, I don't understand what you mean. In your top example, [b]start[/b] is declared as a point...

Linked Lists
What? [code]nodeType *head = NULL; // 1 nodeType *current;[/code] Both have "asterisk" - i.e. bo...