testing for blank line
How do I test for a blank student name
ie if ((pa+i)->fullname==blank line)
int getinfo(student pa, int n)
cout << "Enter the name of student "<< i+1 <<":";
cout << "Enter student "<<i+1<< " hobby:";
cout << "Enter student "<< i+1<< " ooplevel:";
Well Why dont you just get the length of the name and if its 0 then it was a blank line.
test for blank name
is there a function to determine the length?
can't find one in this book
strlen() does that.
I think its included in <string.h>