All standard C and C++ programs are the same regardless of what platform they are compiled for. That means all of them have an int main() function. All (or most) introduction to C programming books will be useful for either MS-Windows or *nix machines/compilers. You won't notice a difference between the two operating systems until you start more advanced programming topics, like sockets and creating GUI windows. But even then there are other libraries available that make those topics portable between os.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Use one of the many libraries available for *nix. Here is a good start
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343