MESSAGE
DATE | 2005-01-25 |
FROM | From: "Martin, Jared"
|
SUBJECT | Subject: [hangout] Simple C question
|
If I have three strings: char *str1; char str2[]; char str3[10];
how do I copy the info from str1 to str2?
how do I copy the info from str1 to str3? (I imagine it is the same, and I realize I will loose data if strlen(str1)>10)
Thank you very much
Sincerely, ***************************** Jared Martin IT Desktop Support Davis & Gilbert LLP 1740 Broadway New York, NY 10019 Help Desk: 212-237-1500 Office: 212-237-1504 Cell: 646-773-4138 Fax: (212) 974-7023 *************************************
____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|