C++ and GUI development
Sometimes a class or classes are not needed at all to process your data.
Take a windows application :
which requires data stored in a database
to be retrieved to a Gui
to be returned updated back to a database
A database may be shared between 1 or more W.S.
Data from the database may be called up and stored into files -
depending on the amount of data , files may be segmented to
alpabetical titles - a, b, c . etc.
Data for the desktop application may be acquired with functions only.
Functions - in the desktop application may do the work with less
How does the data stay in the desktop display?
In Gui development usually there are components to handle your display requirements
directly from the source which in this scenerio is a file.
Most Gui components are persistant with the data already once it has
If there are other requirements then yeh, use a class or classes to do the work.
If you need classes consider this tip!
Functions to function libraries - to classes - to class libraries and all to
the application as required. The libraries remain the same.