Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > about ggets()

Reply
Thread Tools

about ggets()

 
 
fidlee
Guest
Posts: n/a
 
      12-26-2005
is ggets() a standard c function?
I just tried to use this function in turbo C compiler.
The program actually compiles but on trying to run, the linker throws
an error:
Linker Error: Underfined symbol '_ggets' in module fidlee.c

If ggets() is a standard function, it should be available on all the
different flavours of C compiler right?

 
Reply With Quote
 
 
 
 
Mark McIntyre
Guest
Posts: n/a
 
      12-26-2005
On 26 Dec 2005 09:35:14 -0800, in comp.lang.c , "fidlee"
<> wrote:

>is ggets() a standard c function?


no.

>I just tried to use this function in turbo C compiler.
>The program actually compiles but on trying to run, the linker throws
>an error:
>Linker Error: Underfined symbol '_ggets' in module fidlee.c


You'll need to link with the library or C module that has the
definition of ggets in it.

A function called ggets was written by one of hte regulars here. I'm
sure he'll post, but a quick google should turn up a reference.

>If ggets() is a standard function, it should be available on all the
>different flavours of C compiler right?


Yes.
Mark McIntyre
--

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
 
Giannis Papadopoulos
Guest
Posts: n/a
 
      12-26-2005
fidlee wrote:
> is ggets() a standard c function?


No, it is a public domain function from CBFalconer (can be found at
http://cbfalconer.home.att.net/download/index.htm)
 
Reply With Quote
 
Chuck F.
Guest
Posts: n/a
 
      12-26-2005
Giannis Papadopoulos wrote:
> fidlee wrote:
>
>> is ggets() a standard c function?

>
> No, it is a public domain function from CBFalconer (can be found
> at http://cbfalconer.home.att.net/download/index.htm)


Pretty well covers it. However it is written in purely standard C,
so that it should compiler and execute correctly anywhere.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
 
Reply With Quote
 
Emmanuel Delahaye
Guest
Posts: n/a
 
      12-26-2005
fidlee a écrit :
> is ggets() a standard c function?


Of course not. It's an gift from CBFalconer, a famous c.l.c. regular,
and you'll find its code on its site.

<http://cbfalconer.home.att.net/download/ggets.zip>

> I just tried to use this function in turbo C compiler. The program
> actually compiles but on trying to run, the linker throws an error:
> Linker Error: Underfined symbol '_ggets' in module fidlee.c

--------------------^
You linker sounds seriously broken... Please don't retype but copy and
paste.

> If ggets() is a standard function, it should be available on all the
> different flavours of C compiler right?


Surely, it should.

--
A+

Emmanuel Delahaye
 
Reply With Quote
 
Joe Wright
Guest
Posts: n/a
 
      12-26-2005
Emmanuel Delahaye wrote:
> fidlee a écrit :
>
>> is ggets() a standard c function?

>
>
> Of course not. It's an gift from CBFalconer, a famous c.l.c. regular,
> and you'll find its code on its site.
>
> <http://cbfalconer.home.att.net/download/ggets.zip>
>
>> I just tried to use this function in turbo C compiler. The program
>> actually compiles but on trying to run, the linker throws an error:
>> Linker Error: Underfined symbol '_ggets' in module fidlee.c

>
> --------------------^
> You linker sounds seriously broken... Please don't retype but copy and
> paste.
>
>> If ggets() is a standard function, it should be available on all the
>> different flavours of C compiler right?

>
>
> Surely, it should.
>

I wouldn't go that far. All the different flavors? How old are you?
ggets is not a Standard C function. Assuming Chuck F. did his diligence
and wrote ggets to C90 spec, is Borland Turbo C a Standard C compiler? I
always thought Turbo C was 16-bit DOS.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      12-26-2005
fidlee said:

> is ggets() a standard c function?


Hey, Chuck! This one's for you! Fame at last, eh?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      12-26-2005
Joe Wright said:

> is Borland Turbo C a Standard C compiler?


Pretty much, yes, if you'll excuse the odd bug or two.

> I always thought Turbo C was 16-bit DOS.


So? What has that to do with it?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
 
Reply With Quote
 
Emmanuel Delahaye
Guest
Posts: n/a
 
      12-26-2005
Emmanuel Delahaye a écrit :
> Of course not. It's an gift from CBFalconer, a famous c.l.c. regular,
> and you'll find its code on its site.


"/his/ site", of course... Need holidays...

--
A+

Emmanuel Delahaye
 
Reply With Quote
 
Joe Wright
Guest
Posts: n/a
 
      12-26-2005
Richard Heathfield wrote:
> Joe Wright said:
>
>
>>is Borland Turbo C a Standard C compiler?

>
>
> Pretty much, yes, if you'll excuse the odd bug or two.
>
>
>>I always thought Turbo C was 16-bit DOS.

>
>
> So? What has that to do with it?
>

Thank you. I stand illuminated.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments