cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
char *gets(char *str)
char *gets(char *str)
Jan 25, 2008 at 4:12pm UTC
frizshizzle
(6)
I'm reading the definition of gets and I'm confused what does the "char *" before gets mean I know (char *str) means a character pointer I think.
please help
thanks
Jan 25, 2008 at 4:15pm UTC
AzraelUK
(57)
The bit before the function name defines what it will return. So gets() is a function that takes a char *, and returns a char *.
Jan 25, 2008 at 4:20pm UTC
frizshizzle
(6)
thanks doh
Topic archived. No new replies allowed.