c++ vector sum of elements helpingYou'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 QuestionA 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 specializationmy 2c using type_traits: [code] #include <iostream> #include <memory> #include <type_traits> templa...
This user does not accept Private Messages