Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-17-2004, 02:07 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Question c header files in linux in place of header files in windows?

hi i want to run the c program on linux which is written on windows .what changes should i make in the program specially in the #include files or should i change the source code?
Old 03-17-2004, 02:24 AM   #2
Registered: Nov 2003
Location: Slough, UK
Distribution: Debian
Posts: 146

Rep: Reputation: 15
It depends what your program does. If its pure ANSI C and uses no OS specific libraries it should port with no problems.

The best thing to do is attempt to compile the source code and see what you get.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Including header files and source files for classes Feenix Programming 8 09-28-2005 10:53 AM
Linux Header Files Roy-Svork Programming 8 08-01-2005 08:45 AM
Linux kernel header files cranium2004 Programming 4 03-04-2005 04:41 AM
gcc header files and cpp files? EchO Linux - Software 3 03-01-2005 01:14 AM
how do i install linux header files jelgavchik Linux - General 2 01-02-2005 07:15 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration