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

[RIDGELINE] The Walk and Talk, Nagano Kiso-ji

Ridgeline subscribers — I’ll die on my dumb hill, the one where I say: the best time to visit and walk (most) of Japan is the end of November and the start of December. I think a lot of folks have a kind of North-Eastern-American mentality, where by the ti…

via Craig Mod — Writer + Photographer December 18, 2025

Gemini 3 Flash

It continues to be a busy December, if not quite as busy as last year. Today's big news is Gemini 3 Flash, the latest in Google's "Flash" line of faster and less expensive models. Google are emphasizing the comparison between the new Flash …

via Simon Willison's Weblog: Entries December 17, 2025

Every now and then YouTube will suggest a film photography related video from years and years ago. I’ll watch it and think, hey, YouTube, why didn’t you suggest this sooner?

via Colin Devroe December 17, 2025

Generated by openring