delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/29/13:30:17

From: nospam AT 127 DOT 0 DOT 0 DOT 1 (Xenon)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Undefined reference...
Date: Sat, 29 Aug 1998 09:43:37 GMT
Organization: PIRONET News-System
Lines: 19
Message-ID: <35e7ccc6.4547771@news.piro.net>
References: <35e9380e DOT 7798056 AT news DOT piro DOT net>
Reply-To: nonex AT hotmail DOT com
NNTP-Posting-Host: news.piro.net
Mime-Version: 1.0
NNTP-Posting-Date: 29 Aug 1998 09:43:53 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi !

I finally fixed it....

printf("%s",(const char *) test);

instead of

printf("%s",test);

*phew* That was a long way.. but I'm there and intend to
keep on programming...

XeNoN

PS: My friend said there's an easier way to make printf 
      use "strings" - any ideas ? 

- Raw text -


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