From: "OmniMeta"
Newsgroups: comp.os.msdos.djgpp
Subject: Why printf of stdio.h don't work ?
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Message-ID:
Date: Mon, 3 May 1999 00:12:40 -0300
NNTP-Posting-Host: 207.253.161.113
X-Complaints-To: abuse AT videotron DOT net
X-Trace: wagner.videotron.net 925704592 207.253.161.113 (Mon, 03 May 1999 00:09:52 EDT)
NNTP-Posting-Date: Mon, 03 May 1999 00:09:52 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
I can't print anything with printf, why ?
here, sttr is a char* and col a int
what's wrong ?
gotoxy(40-strlen(sttr)/2,col);
printf("%s",sttr);