i need the code of funtion "gets" in class "string.h".
thanks a lot
dragon_vn_101
0
Newbie Poster
Recommended Answers
Jump to Postdoesn't matter why -- gets() is a horrible function anyway.
Well maybe he wanted the source to improve the function and benefit C-programmers worldwide by inventing a failproof, idiotproof, fast-then-ever gets()-function :)
Or maybe you're just right.
All 4 Replies
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Salem
commented:
Agreed, but the source for gets() et al will be in libc, not the compiler itself
+29
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Salem
commented:
lol
+29
ithelp
757
Posting Virtuoso
Banned
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.