From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: conio.h (_inp/_outp) Date: Sat, 28 Mar 1998 12:56:47 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 38 Message-ID: <351D39DF.43BF@cs.com> References: <35193161 DOT 36C15B7D AT jhu DOT edu> <351939BF DOT 1EDE0FDF AT jhu DOT edu> NNTP-Posting-Host: ppp217.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Geoff Schoenbaum, MD, PhD wrote: > > Ach - just discovered these functions are not part of conio.h as it is > delivered by djgpp - interesting because they are in conio.h as it is > delivered in ms vc++. From poking around I have surmised that I need to > replace my calls to _inp with inpw and _outp with outpw in order to use > the same variables and return the same values my program currently > expects. This is my first foray outside of vc++, will I be finding that > many of my STL functions are not compatible with the libraries in djgpp? As with nearly any major compiler change, you'll discover some major incompatibilies and a lot of minor ones, such as the above. Most of them can be resolved with the documentation (in the case of DJGPP, you can simply look up the desired function/class/keyword in the libc/libgpp/libstdcxx documentation to see what the differences are. For major C or low-level incompatibilities, you should look in the DJGPP Frequently Asked Questions list; it has several chapters devoted to explaining how to convert code from other PC compilers. For C++ support, the issues become a lot more complex and, as yet, nobody has compiled an equivalent FAQ for converting STL code. While we wait for this to happen, you should ask any questions you have on this newsgroup/mailing list and somebody will try to help. You may find that a lot of the problems you encounter have already been discussed at length; before posting new messages, search the list archives via http://www.delorie.com/djgpp/mail-archives/ or the newsgroup via DejaNews (http://www.dejanews.com/). Chances are you'll find that somebody has asked your question before. Good luck! -- --------------------------------------------------------------------- | John M. Aldrich | "Animals can be driven crazy by pla- | | aka Fighteer I | cing too many in too small a pen. | | mailto:fighteer AT cs DOT com | Homo sapiens is the only animal that | | http://www.cs.com/fighteer | voluntarily does this to himself." | ---------------------------------------------------------------------