[comp.sys.ibm.pc] Changing '/' to '\' in C compilers

streich@boulder.Colorado.EDU (Mark Streich) (06/08/90)

I have several C programs written for unix systems, and several of them
specify #include files using the '/' character in the directories.  Is
there anyway to make either Microsoft C 6.0 or Turbo C 2.0 recognize this
and replace (treat them as) a '\' ?   I'd rather not change the sources
because they will be going back and forth from DOS->unix, unix->DOS, etc.

Thanks.

kdq@demott.COM (Kevin D. Quitt) (06/08/90)

    Conversion is not required.  DOS will accept the / instead of \ at
all times - it's COMMAND.COM that won't. 

-- 
 _
Kevin D. Quitt         Manager, Software Development    34 12 N  118 27 W
DeMott Electronics Co. 14707 Keswick St.   Van Nuys, CA 91405-1266
VOICE (818) 988-4975   FAX (818) 997-1190  
MODEM (818) 997-4496 Telebit PEP last      demott!kdq   kdq@demott.com

      96.37% of the statistics used in arguments are made up.