User profile: gunnerfunner

User info
User name:gunnerfunner
History
Joined:
Number of posts:2127
Latest posts:

c++ vector sum of elements helping
You've allocated memory to the std::vector<int> x but haven't actually put any values in it's cells....

2d vector
[quote]I dont want to use this[/quote] why not?

Quick ifstream & ofstream Question
A very minor add to above, if I may: #include <memory> for std::addressof()

emplace command in std::map
[code]std::vector newvector(0);[/code] the template parameter for std::vector<> is missing

template class specialization
my 2c using type_traits: [code] #include <iostream> #include <memory> #include <type_traits> templa...

This user does not accept Private Messages