2 Replies - 686 Views - Last Post: 28 December 2010 - 09:14 AM

#1 Ticon  Icon User is offline

  • D.I.C Regular

Reputation: 28
  • View blog
  • Posts: 320
  • Joined: 20-August 09

Saving Settings?

Posted 26 December 2010 - 01:00 PM

Hello and greetings, I have come upon a predicament in my latest coding adventure. I am in need of a way to save settings, for example;
race = human and class = warrior. I need a way to save that and load as well. Could anyone point me in the right direction or give some help? Anything is much appreciated :?:
Is This A Good Question/Topic? 0
  • +

Replies To: Saving Settings?

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8364
  • View blog
  • Posts: 31,073
  • Joined: 12-June 08

Re: Saving Settings?

Posted 26 December 2010 - 04:07 PM

I am not sure which flavor you are using, but the typical "write to a file" example is here:
http://msdn.microsof...y/6ka1wd3w.aspx

You could write it as XML and have each area (race, class, etc) be a node name.. there are options.
Was This Post Helpful? 0
  • +
  • -

#3 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,957
  • Joined: 21-March 08

Re: Saving Settings?

Posted 28 December 2010 - 09:14 AM

What language(C#, VB.Net, C++)? What platform(WinForms, WPF, Silverlight, WP7, XNA)?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1