0
You are gonna have to write a tonnload of preprocessor directives to find out the type of computer, OS, version,... You're also gonna need different compilations for different cpu instruction sets. The easy way? have a look at QT. Which does a lot of this work for you ;)