Hey Experts!
I want to read an INI file using C. I wouldnt say im very familar with C (beginner/intermediate). Could someone give me code samples on how to read an INI file's values? Ive done this before in Visual Basic using the Windows API (GetProfileString..), however, ive never used the windows api in C.. so i have absolutely no idea how to accomplish this...
Theres a catch here though! I don't know the exact file name of the INI file... All i know is the first 4 or five characters... Is there a way to search a directory.. grab the ini files based on the first few characters of the file name, then read only them INI files?...
Any code samples, help - would be so much help
Thanks for your time!!!
Start Free Trial