Re: [Dev-C++] Dev-cpp support for getline
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Dave S. <da...@da...> - 2004-10-12 08:28:49
|
Many thanks to Per and others for their quick relies. Back to the tutorials... Dave Sergeant On 12 Oct 2004 at 0:11, Per Westermark wrote: > Sorry, no getline() with the C libraries for MinGW. > > However, before starting to use gnu-specific extensions, I woule > really recommend you to think twice. If you are working on gnu tools, > it might be a good decision, but for most other C programming, I think > it is better to rely on standardized functions. > > /Per W > > On Mon, 11 Oct 2004, Dave Sergeant wrote: > > > Hi > > > > I am in the process of coming to grips with C and eventually C++ and > > working through various tutorials, currently the GNU C Programming > > Tutorial by Mark Burgess. I am running Dev-cpp 4.9.9.0 on Windows > > 98SE. > > > > The tutorial stresses the use of getline, getdelim, and other > > functions introduced with GNU C instead of the deprecated scanf etc. > > > > But I can't seem to get getline to work with dev-cpp. If I try and > > compile the program below, which is from the tutorial, I get a > > linker error 'undefined reference to 'getline' '. > > > > I have tried searching this mailing list and the forums and cannot > > find a solution, apart from getting the impression that others seem > > to be able to use it with no problem. > > > > Do I need to download an updated <stdio.h> or other library? > > > > Thanks > > Dave Sergeant http://www.davesergeant.com |