I'm reading the book C++ How to Program 5/e by Dietel.
At the Chapter 3.9 'Separating Interface from Implementation' and chapter 3.10 'Validating Data with set Functions' when I try to compile the source codes appears the following:
D:\DOCUME~1\Maloku\LOCALS~1\Temp\ccApbaaa.o(.text+0x1ac) In function `main':
[Linker error] undefined reference to `GradeBook::GradeBook(std::string)'
[Linker error] undefined reference to `GradeBook::GradeBook(std::string)'
[Linker error] undefined reference to `GradeBook::getCourseName()'
[Linker error] undefined reference to `GradeBook::getCourseName()'
[Linker error] undefined reference to `GradeBook::setCourseName(std::string)'
[Linker error] undefined reference to `GradeBook::getCourseName()'
[Linker error] undefined reference to `GradeBook::getCourseName()'
D:\DOCUME~1\Maloku\LOCALS~1\Temp\ccApbaaa.o(.text+0x1ac) ld returned 1 exit status
with DEV-C++.
What can I do to fix that or what causes this problem? I tried microsoft visual c++ 2005 it finds to errors , I'm big beginner
THANK YOU FOR ANSWER
It isn't said anything at 'C++ how to program 5/e' that it can't see in fact it should. Do I need to use any other compiler? , i'm new at c++ so when i put them together at *dev how should it look like?
I can't really say how much I want to thank you. You got me to continue with Deitels book where i stopped for long and read C++ for dummies , wich isn't good as Deitels book. Thanks very much
Thanks x Thanks x Thanks128