User profile: doug4

User info
User name:doug4
Name:Doug
Location:Linhardt
History
Joined:
Number of posts:1533
Latest posts:

vector multi template argument
https://cplusplus.com/reference/vector/vector/ _Tp is the data type of the members of the vector _A...

Assign to a specific memory address
Why do you want to do this? You are circumventing the C++ memory management system, and now you are...

; missing before cout
In line 5 of the first snippet, you have an [code]else[/code] statement. It takes the next statemen...

how to declare array in Constructor
@seeplus, Is there a reason you didn't use [code]NoElems[/code] in line 17 when you declared [code]...

How to initialize an array whose size is initially unknown
[quote]I want to add each line inside the array[/quote] That's what you needed to say in your first...