Hello fellows.
Im a novice programmer trying to learn c++ to help me in my work with robotics.
Its comming along quite well but i ran in to problems with the string class.
Im working on an assignment i found at a teachers rescource homepage.
What im supposed to do is read in a string then convert all the consonants to:'cons'+'o'+cons:
So Hello becomes: Hohelollolo
I can do this with the use of arrays but it says use strings:
This is waht i got so far:
Okey thanks:) i did think about that. But i thouht i would be bad programming becouse then the string would not have a fixed predetermined size, but increment in size as the program looped in search of consonants^.-.