Design question. Lets say I have a base class Display and 2 abstract classes, Display1 and Display2. The functions are similar such as loadConfigFile, ProcessFile and DisplayFile. Of course, the functionality is different in the ProcessFile and DisplayFile. Would using abstract classes be the best approach in this situation?
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Written by John Humphreys
C++ Threading and the POSIX Library
This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.