How to make a Preconfigured program?

Hey, How can i make a Preconfigured program? Im thinking of make a program and let the user add what they want in a separate file in same directory such as config.ini. Can anyone help me?

Regards,
Ash
What do you mean? Do you mean like let the user put C++ code in your file and have it run?
No, not like that...

something like this


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;Directions on editing this file.
;[Settings]
;Url=
;RegUrl=Put the URL of your websites register page here example Url=http://www.google.com
;ServerName=Your games name
;FileName=The Game loader name.

;[Layout]
;Pic="Location of your background picture" The picture is default size of 666px x 390px
;ButtonLetterColor= Here you will put a number 1-6  
;Heres a definition of the numbers.
;1 = Black, 2 = White, 3= Red, 4= Gray, 5= Dark Gray, 6= WhiteSmoke

[Settings]
Url=
RegUrl=
ServerName=
FileName=

[Layout]
Pic="'
ButtonLetterColor= 


and the program with take whats in here and display it in there.
Last edited on
Anyone??..
What's the problem?
If you don't know how to read files, see
http://www.cplusplus.com/reference/iostream/ifstream/
Topic archived. No new replies allowed.