Author Topic: Porting software  (Read 1244 times)

shuiend

  • Member
  • **
  • Posts: 250
  • Kudos: 0
    • http://stuff4fools.topcities.com
Porting software
« on: 4 August 2002, 07:08 »
if i write all my C++ code in linux how hard would it be to complile it in windows and have it work. Would there be many code changes or just a few syntax errors to fix and recompile it on the windows machine?
you know its a bad day when you look more sober then usual

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
Porting software
« Reply #1 on: 4 August 2002, 08:39 »
If you use headers that work on any platform (like iostream.h), you'll just need to compile it on windows.

If you are using linux specific headers, you'll have to find an alternatice to them on windows (like I had to on thread dos.h).