delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/04/18:38:16

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1884
Path: news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!news.cais.net!newsfeed.internetmci.com!news.mathworks.com!news.kei.com!simtel!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!OzEmail!usenet
From: firstpr AT ozemail DOT com DOT au (Robin Whittle)
Newsgroups: comp.os.msdos.djgpp
Subject: printf doesn't interpret \n etc . . .
Date: 4 Sep 1995 09:36:44 GMT
Organization: First Principles
Lines: 16
Nntp-Posting-Host: slmel5p03.ozemail.com.au
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

printf() works fine for me, except when I use a string from somewhere 
else, in which case it ignores the \n \t codes, but still works fine 
with the %f codes.

 printf(p->txtstring, *p->kval1, *p->kval2, *p->kval3, *p->kval4);


This may not be DJGPP specific - but I don't know where else to ask.

I am using DJGPP for Csound - a music synthesis program - and have 
found it to be really solid. Check out Csound source and .exes from
ftp://ftp.maths.bath.ac.uk/pub/dream

Thanks in advance for any clues. 

- Robin

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019