Raised This Month: $ Target: $400
 0% 

[REQ] Read arguments from .ini file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-01-2015 , 18:53   Re: [REQ] Read arguments from .ini file
Reply With Quote #1

It's simple. Read the file like normal (using fopen, fgets, fclose). Simply use parse() on the data you get from fgets() to extract those two values. Do what ever you need to do to know if it's the line you want (referencing by line is a bad idea).
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode