User profile: seeplus

User info
User name:seeplus
History
Joined:
Number of posts:6276
Latest posts:

Discord Server Issue
[quote]And this ^^^^^^ is why doing a equality check (==) on a floating point number in C/C++ is foo...

How to display the number of elements in a dynamic memory allocated array
Unless you're learning about new/delete then if you don't want std::vector then with modern c++ you'...

How to display the number of elements in a dynamic memory allocated array
or instead of the for loop: [code] std::copy_n(v, N, larger); [/code]

How to display the number of elements in a dynamic memory allocated array
You cannot directly increase the size of a dynamically allocated array after it has been allocated (...

How to display the number of elements in a dynamic memory allocated array
Using new/delete then consider: [code] #include <iostream> using std::cout; using E = int; // Ty...