Hello everyone.
I am very new to C++ as well to Linux and I ran into a problem that I don't seem to solve on my own.
I am doing some C++ exercises and the one that I can not solve is at
http://www.doc.ic.ac.uk/~wjk/C++Intro/RobMillerE3.html
Question 2.
The problem is that compiling my own program as well as example answer program fails.
I have the same file structure as in that example.
Files that I have:
atable.cpp for the main program
tablefunctions.h for prototypes
tablefunctions.cpp for implementation
I hope you guys and girls can help me out on this.
Thanks.
Command: c++ atable.cpp
Error in terminal:
/tmp/ccHFJ02b.o: In function `print_table(double, double, double)':
atable.cpp:(.text+0x1f7): undefined reference to `abs_value_of(double)'
atable.cpp:(.text+0x205): undefined reference to `fahr_to_celsius(double)'
collect2: ld returned 1 exit status