I've spent the past two hours trying to debug this shitty program I wrote only to finally figure out the issue. For some stupid reason, I forgot to increment the one variable keeping track of the size of an array of strings. Am I an idiot Jow Forums? (faggot?) you decide
>Can't write a for loop without fucking up user, I just can't even
Daniel Peterson
Making a personal blog post about your homework is even more retarded OP.,
James Howard
>Electron
Get the fuck out nigger
Jeremiah Barnes
that's not Code you dumb fucking bitch.
Ayden Sullivan
Look closer, retard.
Easton Myers
donovan pls
Ryder Sanders
I can't stand IDEs, they just look so bloated.
Ethan Phillips
If you're tripping over simple stuff, it's a good sign that you need to take a break. Come back when your stress levels are lower and mistakes won't kite you around like this.
Use the std algorithms instead. In your case, that would mean something like auto mod_index = std::count_if(mod_list.begin(), mod_list.end(), [](auto c) { return c == '@'; });
It's also better since it works as documentation of your intent.