Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

updating a .cfg file

$
0
0
Hi all

Just wondering how I would update a config file in order to change some of its values. This is just a sample config to show you want I mean

// graphics

Screen_Width=1024
Screen_Height=768
BPP=32

If I wanted to change the BPP for example via a GUI, what would I need to do programming wise to change the value of the BPP field from 32 to say 64? I can design the GUI I would need but seem to be stumbling on how to make such a change via code.

Thanks and love this site!

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>