cvs.gedasymbols.org/archives/browse.cgi | search |
From: | "Robinson S." <roby AT lords DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Catenation (spelled right?) of strings |
Date: | Sun, 15 Aug 1999 13:51:55 -0400 |
Organization: | ICAN.Net Customer |
Lines: | 24 |
Message-ID: | <37B6FE3A.138C@lords.com> |
References: | <37B36D0D DOT 7F00 AT lords DOT com> <37B37890 DOT 2C249FED AT a DOT crl DOT com> <37B4490F DOT 1EB AT lords DOT com> <37B467D0 DOT B2496F3E AT americasm01 DOT nt DOT com> <37B639B3 DOT 6BBE AT lords DOT com> <37B63D58 DOT CC7F7426 AT unb DOT ca> |
NNTP-Posting-Host: | dialin202.toronto.globalserve.net |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 3.04 (Win95; U) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Endlisnis wrote: > > "Robinson S." wrote: > > > #include <string.h> > > > > ... > > > > What do I change in above 4 lines to make it do what I want it to do? > > char path [255] = "c:\\roby\\projects"; // PATH TO ICQ DIRECTORY > char path2 [255]= "c:\\roby\\projects"; // UIN # > char file_txt1[255], file_txt2[255]; > strcpy(file_txt, path); > strcat(file_txt, "\\test.txt"); > ...same for other... Hey great! It works, thank you very much to you and everyone else that replied! -- Robinson S., mailto:roby AT lords DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |