Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,242 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,102 people online right now. Registration is fast and FREE... Join Now!




Configuration Script Analysis

 
Reply to this topicStart new topic

Configuration Script Analysis, For easy data manipulation

Delta_Echo
post 14 Mar, 2008 - 09:52 AM
Post #1


D.I.C Regular

***
Joined: 24 Oct, 2007
Posts: 421


My Contributions


Well i am two day into designing a development outline to my first full text based rpg (I decided it would make things easier to outline what i wanted to do first ), And while listing all the items, enemies, boxes, ect...I realised what, WOW I have alot of data i am going to be constantly changing and tweaking. So i want to be able to achieve two things:

1. Creating a program ( module really ) that would read the names of variables as listed inside
text files then read the values next to them to the variables in question. So i could easily
tweak the game during design and testing.

2. Use this to save games, and therefore allow the player to save, and quit. And continue later.

The problem is...I have no idea how to achieve this,
Im not looking for code snippets, im looking for a tutorial.
Google didn't return anything useful (shocking isn't it ).

So, umm, anyone have a tutorial to address this?

Thanks all cool.gif

Live long and code strong.
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 14 Mar, 2008 - 09:58 AM
Post #2


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,170



Thanked 33 times

Dream Kudos: 25
My Contributions


Sorry to ask for clarification, it is file handling you need a tutorial on? Or construction of data classes?
User is offlineProfile CardPM

Go to the top of the page

Delta_Echo
post 14 Mar, 2008 - 10:01 AM
Post #3


D.I.C Regular

***
Joined: 24 Oct, 2007
Posts: 421


My Contributions


Hmm, not sure. Which do you think would get me closer to achieving my objectives?
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/21/08 09:57PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month