Best way to Find amount of chars existing in both stringsI want to know how many chars exists in both strings. [code]getPoints("hey", "hai") would give: 1 po...
For loop crashing at the endTurns out the layer two was saved given by parameter (not as pointer) and layer 1 saved the pointer ...
For loop crashing at the endIn my Header file I create the map: [code]class Layer { private: map<char, string> child...
For loop crashing at the endI tried debugging, it gives Segmentation error at line cout << "Check: " << v.second << endl; Any i...
For loop crashing at the endHere's my code [code] cout << "Input: " << history << endl; map<char, int> result; for (auto& v : ...
This user does not accept Private Messages