User profile: JLBorges

User info
User name:JLBorges
History
Joined:
Number of posts:12954
Latest posts:

How to make sure that different dynamic memory is allocated to the same pointer when using while loop?
The allocator provided by the standard library of a programming language would typically not go to t...

How to make sure that different dynamic memory is allocated to the same pointer when using while loop?
> Coz Im curious about it! A common implementation of the allocation mechanism could be: a. the al...

How to make sure that different dynamic memory is allocated to the same pointer when using while loop?
> Have I made myself clear enough? No. > the address stored into the pointer is always the same, a...

How to make sure that different dynamic memory is allocated to the same pointer when using while loop?
> I need to store different data in different dynamic memory address for each while loop What is th...

Vector same element problem?
[code]#include <iostream> #include <string> #include <vector> struct ingredient { std::string nam...