Question d’entretien chez Starbucks

Write a function that will parse the number of words in a given string without using a quick two line solution

Réponse à la question d'entretien

Utilisateur anonyme

4 mars 2014

I walked the string using a iterator ptr and counted every time I hit a delimiter.