OT: Trying to learn C -- some questions

2004-11-25 Thread Tom Parquette
Hi. This is a little off topic but I'm hoping someone can provide some guidance and answer a few questions. TIA. I'm trying to learn ANSI C using a book circa 1994. It is written from a DOS perspective. Someone at work, who knows a little C, told me that the book was close enough. I'm

Re: OT: Trying to learn C -- some questions

2004-11-25 Thread Adam Fabian
On Thu, Nov 25, 2004 at 07:38:10PM -0500, Tom Parquette wrote: 1) gcc complains that conio.h was not found. If I comment out the #include, the program compiles. Is this a DOSism or something else? Yes, it is. 2) fprintf is described with stdprn being valid for a default printer. This

Re: OT: Trying to learn C -- some questions

2004-11-25 Thread David Fleck
On Thu, 25 Nov 2004, Tom Parquette wrote: I'm trying to learn ANSI C using a book circa 1994. It is written from a DOS perspective. Someone at work, who knows a little C, told me that the book was close enough. I think they are probably wrong. 1) gcc complains that conio.h was not found. If I

Re: OT: Trying to learn C -- some questions

2004-11-25 Thread Michael C. Shultz
On Thursday 25 November 2004 04:38 pm, Tom Parquette wrote: Hi. This is a little off topic but I'm hoping someone can provide some guidance and answer a few questions. TIA. I'm trying to learn ANSI C using a book circa 1994. It is written from a DOS perspective. Someone at work, who knows

Re: OT: Trying to learn C -- some questions

2004-11-25 Thread Matt Emmerton
On Thu, 25 Nov 2004, Tom Parquette wrote: I'm trying to learn ANSI C using a book circa 1994. It is written from a DOS perspective. Someone at work, who knows a little C, told me that the book was close enough. I think they are probably wrong. 1) gcc complains that conio.h was not