store lots of data?

G

Guest

quick question for anyone who can help...im trying to mak a program that will
take an entered username and store a list of teams they chose from a list and
save that, to be called later. does anybody kno what i should save this list
as? thanks
 
P

Peter van der Goes

iwdu15 said:
quick question for anyone who can help...im trying to mak a program that
will
take an entered username and store a list of teams they chose from a list
and
save that, to be called later. does anybody kno what i should save this
list
as? thanks

Perhaps if you could provide a little context information and some details,
a targeted answer could be provided. Based on what you've told us so far,
there are several possibilities...
Store the teams (strings?) as records on a simple text file and read the
file later as required.
If by "later", you mean later while the application is still running, you
could simply use a data structure, such as an array or vector to store the
strings in memory until needed.
 
G

Guest

ok, the teams are in text boxes and i want to compare them to a master record
at a later date, im making an NCAA Bracket program, so after a certain team
wins, i want to check all saved brackets against the master and calculate the
scores based on the master one, if that helps
 
I

Ismail Pazarbasi

As a back end, you can store data in an xml file with MSXML. Therefore,
you can read both master record and others then compare xml tree in an
appropriate way. A second way could be implementing classes that are
binded to xml tags. Every class makes its own comparison. I don't know
the application's requirements, so I cannot suggest a better way.

Ismail
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top