Main Logo
Articles   Members Online:
-Article/Tip Search
-News Group Search over 800,000 Borland news group articles.
-Delphi/Pascal
-CBuilder/C++
-C#Builder/C#
-JBuilder/Java
-Kylix
Member Area
-Home
-Account Center
-Top 10 NEW!!
-Submit Article/Tip
-Forums Upgraded!!
-My Articles
-Edit Information
-Login/Logout
-Become a Member
-Why sign up!
-Newsletter
-Chat Online!
-Indexes NEW!!
Employment
-Build your resume
-Find a job
-Post a job
-Resume Search
Contacts
-Contacts
-Feedbacks
-Link to us
-Privacy/Disclaimer
Embarcadero
Visit Embarcadero
Embarcadero Community
JEDI
Links
CBuilder: When Classes may not be required - Functions may
Articles   Members Online:
-Article/Tip Search
-News Group Search over 21 Million news group articles.
-Delphi/Pascal
-CBuilder/C++
-C#Builder/C#
-JBuilder/Java
-Kylix
Member Area
-Home
-Account Center
-Top 10 NEW!!
-Submit Article/Tip
-Forums Upgraded!!
-My Articles
-Edit Information
-Login/Logout
-Become a Member
-Why sign up!
-Newsletter
-Chat Online!
-Indexes NEW!!
Employment
-Build your resume
-Find a job
-Post a job
-Resume Search
Contacts
-Contacts
-Feedbacks
-Link to us
-Privacy/Disclaimer
Embarcadero
Visit Embarcadero
Embarcadero Community
JEDI
Links
When Classes may not be required - Functions may Turn on/off line numbers in source code. Switch to Orginial background IDE or DSP color Comment or reply to this aritlce/tip for discussion. Bookmark this article to my favorite article(s). Print this article
Classes and functions 08-Apr-04
Category
Others
Language
CBuilder All Versions
Views
438
User Rating
1
# Votes
1
Replies
0
Publisher:
Stubbs, David W
Reference URL:
			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
overhead. 

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 
been loaded.


If there are other requirements then yeh, use a class or classes to do the work.

If you need classes consider this tip! 

Development libraries:
Functions to function libraries - to classes - to class libraries and all to
the application as required. The libraries remain the same.



David

			
Vote: How useful do you find this Article/Tip?
Bad Excellent
1 2 3 4 5 6 7 8 9 10

 

Advertisement
Share this page
Advertisement
Download from Google

Copyright © Mendozi Enterprises LLC
Advertisement


Share this page
Advertisement
Copyright © 2017 by No Limit Solutions LLC