I am the typo king. I just sorted my last problem by realising that the guy who wrote the header files was using different cases for some letters than I was. oops.
Anyway, what's this about:
Undefined first referenced
symbol in file
Customer::setPhone(std::basic_string
Anyway, what's this about:
Undefined first referenced
symbol in file
Customer::setPhone(std::basic_string
[Error: Irreparable invalid markup ('<char,>') in entry. Owner must fix manually. Raw contents below.]
I am the typo king. I just sorted my last problem by realising that the guy who wrote the header files was using different cases for some letters than I was. oops.
Anyway, what's this about:
Undefined first referenced
symbol in file
Customer::setPhone(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)/var/tmp//ccraoluA.o
Customer::setName(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)/var/tmp//ccraoluA.o
Rental::Rental() /var/tmp//ccraoluA.o
Customer::Customer() /var/tmp//ccraoluA.o
Customer::setId(int) /var/tmp//ccraoluA.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
I think this all because I'm declaring arrays of classes incorrectly. How should I do that?
Anyway, what's this about:
Undefined first referenced
symbol in file
Customer::setPhone(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)/var/tmp//ccraoluA.o
Customer::setName(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)/var/tmp//ccraoluA.o
Rental::Rental() /var/tmp//ccraoluA.o
Customer::Customer() /var/tmp//ccraoluA.o
Customer::setId(int) /var/tmp//ccraoluA.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
I think this all because I'm declaring arrays of classes incorrectly. How should I do that?
