From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: ? Functions recieving strings? Date: Mon, 23 Mar 1998 18:00:22 -0800 Organization: Alcyone Systems Lines: 29 Message-ID: <351713B6.6B9CD5B8@alcyone.com> References: <0p5jA0_00YUt1EQ0c0 AT andrew DOT cmu DOT edu> NNTP-Posting-Host: charmaine.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk James W Sager Iii wrote: > I'm having a serious trouble in programming. > I'm passing a string to a function and the function isn't > always getting the correct string... ... > Now that isn't the exact example. The code I have is too complex to > post > as its over 100k in length. Well, there doesn't seem to be anything wrong with the example you posted. Likely the problem is that you're doing something much more serious, and the problem is not with printing, but rather something that is being done to the string(s) before printing. What you should do is shrink the problem down to the smallest reproducible case, and then post that. Hopefully the reproducible problem should be no more than a few screenfuls. Do _not_ post your huge program. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm:+37.20.07/-121.53.38 \ "I've got the fever for the / flavor of a cracker" / Ice Cube