Jump to content
Sign in to follow this  
MirnesC2

.ini question

Recommended Posts

MirnesC2

When you read an .ini it tells you what comes after the = sign

Example

[general]

name=john

The .ini file I need has it set up differently and I was wondering how I can get it to read it in this format instead

[general]

name = john

name = "john"

Share this post


Link to post
Share on other sites
ResNullius

Your question is not very clear.

What output do you want?

Show us "This is what's in my ini file" and show us "This is what I want returned"

Your second ini sample shows two entries, and no description of what yyou want.

Share this post


Link to post
Share on other sites
MirnesC2

Never mind, it works fine. It already does what I was looking for, I just messed up something in my code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.