Finding highest frequencyuse a map <char, int>
get your char
if char does not exist already in map, add to the map and set i...
forgot proper way to get info of one class into another class[code]Player player("Bob");
void Game::run(Player& player)
Simple Programs Compiling but no output. i wouldn't use hash defines and line 6 would be better on line 3. but other than that, it outputs ju...
Why segmentation fault?also, you don't really need n:
for(int i=0; i<n; i++)
n is actually [code]v.size(...
Why segmentation fault?[quote]What are you trying to achieve?[/quote]
This user does not accept Private Messages