Hello there, any idea what function in the standard library corresponds to these win32 apis (GetPrivateProfileInt and GetPrivateProfileString). Thanks. :)

Recommended Answers

All 2 Replies

There isn't one.

The nearest thing to a "profile" would be the environment variables, which are accessible using getenv().

Or you could construct your own class based on using a file stream to parse a text file looking for [section] and name=value pairs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.