Connecting Tech Pros Worldwide Forums | Help | Site Map

GetPrivateProfileInt function in linux c++

Newbie
 
Join Date: Mar 2008
Posts: 2
#1: Mar 17 '08
In windows to linux code porting, how to port windows GetPrivateProfileInt function into linux.
gpraghuram's Avatar
Expert
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,258
#2: Mar 17 '08

re: GetPrivateProfileInt function in linux c++


Quote:

Originally Posted by prince434

In windows to linux code porting, how to port windows GetPrivateProfileInt function into linux.


What does this function do?
Did you do a search for this function?

Raghuram
Newbie
 
Join Date: Mar 2008
Posts: 2
#3: Mar 18 '08

re: GetPrivateProfileInt function in linux c++


Quote:

Originally Posted by gpraghuram

What does this function do?
Did you do a search for this function?

Raghuram

Hi Raghuram,
Thanks for our reply.
GetPrivateProfileIntfunction is used in vc++. Every application has a setting file ,
In the setting file required keys and values are defined . This function retrieves an integer associated with a key from the setting file.
I searched for GetPrivateProfileInt function equivalent in linux , but i could not find it.
gpraghuram's Avatar
Expert
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,258
#4: Mar 18 '08

re: GetPrivateProfileInt function in linux c++


Quote:

Originally Posted by prince434

Hi Raghuram,
Thanks for our reply.
GetPrivateProfileIntfunction is used in vc++. Every application has a setting file ,
In the setting file required keys and values are defined . This function retrieves an integer associated with a key from the setting file.
I searched for GetPrivateProfileInt function equivalent in linux , but i could not find it.

If you know the functionality then better implement it as you wont have all available functions of VC++ in linux.

Raghuram
Reply