User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:4345
Latest posts:

Matrix Vector Multiplication
The size of [code]x[/code] and [code]y[/code] is [code]n[/code]. So [code]x[i*n][/code] or [code]y[i...

Does the release() member function of unique_ptr class free the memory of a dynamically allocated array?
Let me phrase it more precisely: release(): frees the object = does not longer hold the ownership r...

Functions problem
SetPixel() is in the Gdi32.lib you need to add this library to your project. See https://msdn.mic...

Does the release() member function of unique_ptr class free the memory of a dynamically allocated array?
[quote]Anyway, just to make sure, release() does not free the memory of the dynamic object it's poin...

When to use break inside a forloop
on line 12: if you erase the last element (without break) the next thing happens (on line 10): it++....