From: Ken Robbins Newsgroups: comp.os.msdos.djgpp Subject: Re: String Concatenation Date: Mon, 26 Apr 1999 20:46:43 -0500 Organization: Prodigy Communications Corp Lines: 18 Message-ID: <7g34q4$5eau$1@newssvr04-int.news.prodigy.com> References: <37248bbb DOT 0 AT phisteria DOT delmarva DOT net> NNTP-Posting-Host: slip129-37-196-253.il.us.ibm.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newssvr04-int.news.prodigy.com 925177476 1632162 129.37.196.253 (27 Apr 1999 01:44:36 GMT) X-Complaints-To: abuse AT prodigy DOT net NNTP-Posting-Date: 27 Apr 1999 01:44:36 GMT X-Accept-Language: en X-Mailer: Mozilla 4.5 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com David Robinson wrote: [snip] > I tried strcat but it keeps the /n on the > end of each string. I want to concatenate the data so it will be on the > same line in the file. Try getting rid of the \n at the end of the string. By the way, are you using scanf() to input the strings? > Thanks for any input. You're welcome. > David Robinson -- Ken Robbins puyrebel prodigy net