saving/displaying multiple sets of data

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 1499 Views - Last Post: 22 October 2015 - 01:28 PM Rate Topic: -----

#16 horace   User is offline

  • D.I.C Lover
  • member icon

Reputation: 768
  • View blog
  • Posts: 3,832
  • Joined: 25-October 06

Re: saving/displaying multiple sets of data

Posted 22 October 2015 - 01:28 PM

View Postheathh, on 22 October 2015 - 08:29 PM, said:

what you are saying makes sense, but instead of putting that in a class could I just call those functions and variables in writeBillingRecord? I don't understand the purpose of it otherwise (writeBillingRecord that is).

you can certainly write the complete program based on what you have in post #12 - in fact you could write it in assembly lanugage!
the idea of using a class is to encapsulate the data and processing methods in a single entity
http://codebetter.co...ed-programming/
and in the end will probably save time and make a simpler system
in particular as you wish to save data sets in some kind of data structure (array, vector, list, ?)

This post has been edited by horace: 22 October 2015 - 01:31 PM

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2