R1D26 Spinning My Wheels

| programming |

I spent an entire hour trying to work through the issue I wrote about in my last post. Sadly, I did not make much progress.

I was able to convert multiple spaces to a single space, but I ended up also cutting off the first letter of all subsequent words in the process.

So hello world becomes hello orld, hello        world becomes hello orld, and hello world its me lev becomes hello orld ts e ev. :(

This seemingly simple problem is giving me a lot of trouble. I think I am going to move on to the next problem and live with the fact that I don’t know how to do this in C (yet).

I asked on the freeCodeCamp forum for some advice so hopefully someone will come along and point me in the right direction. :)

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Weekend Update #12

The weekly update, plus bits and bobs that caught my attention this week.

via ODonnellWeb March 30, 2025

Katherine Yang

Artist, developer, crafter

via Uses This March 30, 2025

"An off switch? She'll get years for that."

Vizio: "Please enjoy falling asleep to these calming nature scenes, occasionally punctuated with unhinged fascist rants. As a treat." I left the tv idle while I went to the other room to play with my dog. After about a half an hour, I started heari…

via jwz March 29, 2025

Generated by openring