Ugh, handling strings in C++ is so strange sometimes. I wanted to dump a full name (last, first) into a single string variable, but when prompting the user the first time around (within a for loop with 3 iterations), it ignored the first iteration of the name prompt. So I just declared a first_name and last_name and ended up concatenating it into a full_name. Interested people can check out the code here.

Ugh, I got it to work, but I hate it when I can’t get some code to work the way I *want*.

Advertisements