Writing portable code



Hi folks,


Please, I'd like to know some tips to write portable gtkmm code that would compile and run in Linux, Windows, MacOS etc. 

My first question is: what is an easy way to determine the user configuration directory, like ~/.config or C:\Documents and Settings\Username\Application Data\? Does Gtkmm, Glib or anything have any support to determine this kind of information, like system details, directory separator, etc.?


Thanks,


Esdras


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]