r/programmingchallenges • u/SirPiggz • Aug 06 '19
Intermediate at C++
Hit me up with something fun to try to do!
7
Upvotes
r/programmingchallenges • u/SirPiggz • Aug 06 '19
Hit me up with something fun to try to do!
3
u/MuletTheGreat Aug 06 '19
Reverse the words in a string. Do it in place, no objects allocated.
"Hello SirPiggz, do you like socks?"
Becomes
"Socks? Like you do sirpiggz, hello"
1
u/deedeemeen Aug 06 '19
/r/DailyProgrammer will keep you busy for a while