|
-
February 12th, 2009, 05:20 PM
#4
Re: Linker error
 Originally Posted by ichiben
Oh. My professor has shown in his lecture sample code in this same format with the class interface in a header file and the class implementation in a cpp file that includes the header file.
In real world usage those files would be included in a larger project, which will have a main function somewhere else. Or, you could make them into a library instead of an executable program, you just have to change your linker settings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|