|
|
Subject:
migrating Linux to Win32
Category: Computers > Programming Asked by: dre1234-ga List Price: $2.00 |
Posted:
25 Feb 2005 23:58 PST
Expires: 27 Mar 2005 23:58 PST Question ID: 481151 |
I want to migrate a simple C program from Linux to a win32 console application (simple i/O). Is it as simple as just #includ'ing the window.h library? #ifdef WIN32 #include <windows.h> #endif |
|
Subject:
Re: migrating Linux to Win32
Answered By: efn-ga on 26 Feb 2005 08:56 PST |
Hi dre1234, It may be even simpler than that. If the program is limited to standard, platform-independent functions, you shouldn't need to change it at all. It doesn't really matter whether the program is simple or complex--the key is what library functions it uses. You don't need the windows.h header file in a console application on Windows. I hope this helps. If you need more information, please ask for a clarification. --efn | |
| |
|
|
Subject:
Re: migrating Linux to Win32
From: eliteskillsdotcom-ga on 26 Feb 2005 09:02 PST |
Pretty much. Try this: http://www.foosyerdoos.fsnet.co.uk/ |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |