User profile: Peter87

User info
User name:Peter87
History
Joined:
Number of posts:4423
Latest posts:

A function call&return issue
The memory that was used by x is still there. It has probably not been used by anything else yet so ...

my project just open and close fast!
I don't think they have looked at your code. You already have a loop very similar to what Fredbill30...

Ampersand differences
[quote]This would simply mean that c = 6, correct? c has a reference to b.[/quote] No. c is a pointe...

my project just open and close fast!
Are you sure the program does not crash for some reason? Does it print some error message?

Destructors being called more then expected?
The extra destructor calls happens when the vector has to reallocate.

This user does not accept Private Messages

User: Peter87

  • Public profile