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

The New Separation of Concerns

In our new comprehensive online course, Subatomic: The Complete Guide To Design Tokens, we discuss the need to revisit the powerful concept of separation of concerns. Separation of concerns is a computer science principle introduced in the mid 1970s that …

via Blog – Brad Frost June 18, 2025

Israeli-linked hackers steal and destroy $90 million from Iranian Nobitex exchange

The Iran-based Nobitex cryptocurrency exchange suffered a $90 million hack, and the attacker has also promised to imminently release data and source code from the platform. The hacking group appears to have burned the crypto assets, …

via Web3 is Going Just Great June 18, 2025

Pluralistic: The Immortal Choir Holds Every Voice (18 Jun 2025)

Today's links The Immortal Choir Holds Every Voice: Anarchists, cryptids and haints (oh my). Hey look at this: Delights to delectate. Object permanence: 2010, 2015, 2020, 2024 Upcoming appearances: Where to find me. Recent appearances: Where I've …

via Pluralistic: Daily links from Cory Doctorow June 18, 2025

Generated by openring