home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!news.ysu.edu!do-not-reply-to-path
- From: ah017@yfn.ysu.edu (John B. Lee)
- Subject: Need help with string arrays
- Message-ID: <1992Dec27.232512.22474@news.ysu.edu>
- Sender: news@news.ysu.edu (Usenet News Admin)
- Nntp-Posting-Host: yfn.ysu.edu
- Organization: Youngstown State University/Youngstown Free-Net
- Date: Sun, 27 Dec 1992 23:25:12 GMT
- Lines: 14
-
-
- In a current program that I am writing I have an array declaration
- that looks like this:
-
- char names[][4];
-
- How would I use the gets() function to put a string into this array.
- Am I declaring the array correctly to receive five strings? << This
- is what I'm trying to do.
-
- John Lee
- usr7245a@cbos.uc.edu
- ah017@yfn.ysu.edu
- --
-