Message-ID: <37B63D58.CC7F7426@unb.ca> From: Endlisnis X-Mailer: Mozilla 4.61 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Catenation (spelled right?) of strings 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 Date: Sun, 15 Aug 1999 04:09:10 GMT NNTP-Posting-Host: 209.226.124.241 X-Trace: news21.bellglobal.com 934690150 209.226.124.241 (Sun, 15 Aug 1999 00:09:10 EDT) NNTP-Posting-Date: Sun, 15 Aug 1999 00:09:10 EDT Organization: Sympatico To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Robinson S." wrote: > #include > > ... > > char path [255] = ("c:\\roby\\projects"); // PATH TO ICQ DIRECTORY > char path2 [255]= ("c:\\roby\\projects"); // UIN # > char file_txt1 = strcat (path, "\\test.txt"); > char file_txt2 = strcat (path2, "\\temp.txt"); > 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... -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT HotMail DOT com ICQ: 32959047