Mooophy / Cpp-Primer

C++ Primer 5 answers
Creative Commons Zero v1.0 Universal
8.11k stars 3k forks source link

Update ex6_42.cpp #773

Closed patelsoham78 closed 2 years ago

bulicdanijel commented 2 years ago

I think it would be the best just to use std::string ?

std::string make_plural(size_t ctr, const std::string& word, const std::string& ending = "s")

It is a bad habit to use

using namespace std;