IDE or compilier to develop c program in windows

This is a discussion on IDE or compilier to develop c program in windows within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I have a question about developing a c program. I wrote my program in linux machine using emacs. Now, ...

  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
    32,834
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 06:50 AM
  3. #Develop Question, How do i create multiple Windows?
    By Zeusbwr in forum C# Programming
    Replies: 0
    Last Post: 04-24-2005, 12:14 PM
  4. What Compilier?
    By KaibaFan321 in forum C++ Programming
    Replies: 8
    Last Post: 07-25-2004, 09:51 AM
  5. I'm Requested to develop a C program
    By BadProgrammer in forum C Programming
    Replies: 16
    Last Post: 05-18-2003, 01:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21