Thread: IDE or compilier to develop c program in windows

  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    26

    IDE or compilier to develop c program in windows

    Hi,
    I have a question about developing a c program. I wrote my program in linux machine using emacs. Now, I have to make it works on windows machine(xp). I know I probably can rewrite the whole thing to have the binary for the user to use. I am not sure about this idea. Can anyone enlighten me?

    I thought about using Visual studio and VC++2008. Can they generate an executable format for win32? Is there any other easier way to do this? Is binary same as the executable.

    Sharon

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    What header files did you include?

    If all you have are things specified by the standard, such as stdio.h, then you just copy the source file to the windows machine, grab a compiler (such as visual studio), compile and run.

    That's it!
    Source code doesn't care about operating systems, compilers or editors.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 01-25-2011, 08:09 AM
  2. Replies: 18
    Last Post: 10-04-2008, 05:50 AM
  3. #Develop Question, How do i create multiple Windows?
    By Zeusbwr in forum C# Programming
    Replies: 0
    Last Post: 04-24-2005, 11:14 AM
  4. What Compilier?
    By KaibaFan321 in forum C++ Programming
    Replies: 8
    Last Post: 07-25-2004, 08:51 AM
  5. I'm Requested to develop a C program
    By BadProgrammer in forum C Programming
    Replies: 16
    Last Post: 05-18-2003, 12:10 AM