cin.ignore(cin.rdbuf()->in_avail(), '40');
This was code given in our handout, only the '40' was replaced with 'n'. I was under the impression that this line of code was for the cin.getline...
Type: Posts; User: Catalyst8487
cin.ignore(cin.rdbuf()->in_avail(), '40');
This was code given in our handout, only the '40' was replaced with 'n'. I was under the impression that this line of code was for the cin.getline...
I hate to come back to this again, but I've got a bug that I can't find again. This time the program compiles and runs, but when going thru the FillRoster loop more than once, the program always...
Man I feel like a total newb now. But I did say I needed another pair of eyes on it :D
When I get back to my computer (on my girlfriends atm), I'll move forward with the program now that you've...
The goal of this program is to create an array of structs that holds a dynamic array of students and allows you to put in their name, student ID, major, and GPA.
The code i have right now just...
That is the problem bling. In Allocate, the last cout line where I print ptrName... it print what I expect it to. Back in main, when I call DisplayName, ptrName is no longer what I am expecting it...
I am writing a program that asks the user for their first, middle, and last name, then concatenates the 3 fixed size arrays into one array that is dynamically created based on the length of the full...