473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

about ggets()

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?

Dec 26 '05 #1
11 2376
On 26 Dec 2005 09:35:14 -0800, in comp.lang.c , "fidlee"
<fi****@gmail.com> 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 =----
Dec 26 '05 #2
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)
Dec 26 '05 #3
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/>
Dec 26 '05 #4
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
Dec 26 '05 #5
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 ---
Dec 26 '05 #6
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)
Dec 26 '05 #7
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)
Dec 26 '05 #8
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
Dec 26 '05 #9
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 ---
Dec 26 '05 #10
Joe Wright <jo********@comcast.net> writes:
Emmanuel Delahaye wrote:
fidlee a écrit : [...]
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.


Given the qualification, "If ggets() is a standard function", the
statement is true. In fact, it's vacuously true, since ggets() isn't
a standard function.

Or perhaps Emmanuel was arguing that it should be.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Dec 26 '05 #11

Joe Wright wrote:
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.

How old are you?


17 but why did you ask in the first place?

Dec 28 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
8
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
33
by: Lalatendu Das | last post by:
Dear friends, I am getting a problem in the code while interacting with a nested Do-while loop It is skipping a scanf () function which it should not. I have written the whole code below. Please...
10
by: broeisi | last post by:
What advantages does sscanf offer over scanf? I had the following code: #include <stdio.h> #include <string.h> int main(void) { int start, finish, values;
26
by: CBFalconer | last post by:
I have modified my ggets utility, to simplify the code and reduce the requirements on the standard library. The external action is totally unchanged, so there is no real need for anyone to...
16
by: pereges | last post by:
I'm getting a warning on my linux gcc compiler: /tmp/ccXgHa9s.o(.text+0x48): In function `main': : warning: the `gets' function is dangerous and should not be used. And here's where I used...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.