Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!hubcap!ncrcae!ncr-sd!crash!kenobi!ford From: ford@kenobi.UUCP (Mike Ditto) Newsgroups: comp.sys.att Subject: Re: compiler error in term.h, and vs. Message-ID: <39@kenobi.UUCP> Date: 27 Feb 88 18:19:34 GMT References: <696@chutepc.UUCP> <47@marque.mu.edu> Organization: Omnicron Data Systems Lines: 26 Summary: and get along fine together. In-reply-to: brianb@marque.mu.edu's message of 23 Feb 88 20:58:40 GMT Posting-Front-End: GNU Emacs 18.41.10 of Fri Oct 2 1987 on kenobi (usg-unix-v) In article <47@marque.mu.edu> brianb@marque.mu.edu (Brian Bebeau) writes: > Since you'll be using curses, I think it's probably also a good idea > to put a > #ifndef TERMINFO > #endif > pair around the stdio.h include since from what I've > read it's not a good idea to include both stdio and curses in the > same program. There is absolutely nothing wrong with using stdio and curses in the same program, and #include-ing their respective header files is harmless. In fact, NEEDS in order to work, and will include it automatically. If you #include It's probably best to include it first, since will automatically #include only if it hasn't already been included. Perhaps what Brian was thinking of was the fact that writing to the terminal with stdio functions while a curses screen is displayed can prevent curses from working properly. -=] Ford [=- "Well, he didn't know what to do, so (In Real Life: Mike Ditto) he decided to look at the government, ford%kenobi@crash.CTS.COM to see what they did, and scale it ...!sdcsvax!crash!kenobi!ford down and run his life that way." -- Laurie Anderson