User profile: MikeyBoy

User info
User name:MikeyBoy
Location:UK
Bio:Professional C/C++ software developer.
History
Joined:
Number of posts:4167
Latest posts:

include Inheritance and Friend Functions and template
It should be fairly obvious how you add inheritence to the program, as you have two different types ...

Deleting elements from a linked list
[quote]Yeah but both my pointer "head" and my class "Get20Years" are of type *Group[/quote] Yes. An...

Deleting elements from a linked list
[quote]are you telling me that I should write like this?:[/quote] OK, you need to understand that a ...

Deleting elements from a linked list
You are passing [b]head[/b] into your functions by value. This means that, when you change the valu...

Variable value not resetting after loop
So pass those variables into functions as arguments. Global variables are, generally, a bad idea, a...