[ back to toc ]

string

Date: 2002/03/23 18:41

Q:
how do i store a string into an array??
the strings is input by the user.
what function do i used to separate each string and store it into array?
A:
You can use the function gets to read a string typed by the user. It reads
the next line the user typed. Note that this function stores the
terminating new line character as well, take care of it.

regards,
Peter

[ back to toc ]