I just want to be able to type in a full name and grabbing a char that is declared in the structure like, for example,
Billy Bob M
Type: Posts; User: jmg0880
I just want to be able to type in a full name and grabbing a char that is declared in the structure like, for example,
Billy Bob M
Thanks man, I will try that tonight and let you know how it works out :)
I really need help!
The error is :
error C2819: type 'student' does not have an overloaded member 'operator ->'
and also
error C2232: '->student::studentNames' : left operand has 'struct' type, use '.'
I am trying to use the getline function in order to have a user input a students name. The code is as followed.
The Structure:
struct student // the student structure meant to hold all...