K
Kirk Bevins
Hello, new to posting, got a dilema in c++. I cant seem to create new
instances of my student class. The idea is to make a database where
the user inputs surnames and library card numbers etc. The piece of
code I cant get to compile is:
......void main() {
for (int i=0; i<10; i++) {
student s;
cout << "Enter student surname: " << endl;
cin >> c;
s.setSurname(c);
}
}
Thats the bases!! If anyone can help me pls email direct
(e-mail address removed) or reply on the group!!!
I really really need help pls!!
Kirk.
instances of my student class. The idea is to make a database where
the user inputs surnames and library card numbers etc. The piece of
code I cant get to compile is:
......void main() {
for (int i=0; i<10; i++) {
student s;
cout << "Enter student surname: " << endl;
cin >> c;
s.setSurname(c);
}
}
Thats the bases!! If anyone can help me pls email direct
(e-mail address removed) or reply on the group!!!
I really really need help pls!!
Kirk.