View Single Post
  #8 (permalink)  
Old October 9th, 2005, 05:40 PM
klep klep is offline
Authorized User
 
Join Date: Oct 2004
Location: San Francisco, CA, .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Glad you got it to work, although the separation into two steps shouldn't be necessary. On Linux, the following command line successfully compiles and links the example for me:

Code:
 g++ Employee.cpp EmployeeTest.cpp -o test
Of course, I had to uncomment main() in EmployeeTest.cpp, but it sounds like you've already done that.


----
Scott J. Kleper
Author, "Professional C++"
(Wrox, 2005)