Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!rpi!batcomputer!cornell!calvin!richard From: richard@calvin.EE.CORNELL.EDU (Richard Brittain) Newsgroups: comp.lang.c Subject: Need help moving from DOS to Unix (BSD) Keywords: Turbo-C Unix Message-ID: <1287@calvin.EE.CORNELL.EDU> Date: 2 Sep 89 02:25:40 GMT Distribution: comp Organization: Cornell Space Plasma Physics, Ithaca, NY Lines: 17 Hello netland, sorry if this is a rather vague question, but my problem is that I learned C on a pc using Turbo-C, and now I'm trying to write in C on a unix box (BSD and Ultrix) but nothing works!!!!!. All of my pc source gives multitudinous errors under unix, and I'm not talking about obvious stuff like DOS specific functions, but things like header files in different places, or not there at all. Function prototypes seem to give cc a fit, and I also get a lot of miscellaneous errors and warnings like "warning: old fashioned initialization" that I cannot make sense of. I'd be really grateful if anyone could give any general rules of thumb for converting between the two environments. Thanks in advance Richard Brittain, School of Elect. Eng., Upson Hall Cornell University, Ithaca, NY 14853 ARPA: richard@calvin.spp.cornell.edu UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard