cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/21/08:24:20

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: About numbers.
Date: Tue, 21 Sep 1999 07:40:49 -0400
References: <7rmff2$5rt$1 AT nnrp1 DOT deja DOT com> <Pine DOT SOL DOT 3 DOT 96 DOT 990916075736 DOT 4565B-100000 AT giasbga> <37E2A43F DOT 42F5E42B AT pepparkakor DOT demon DOT nl>
X-Posted-Path-Was: not-for-mail
X-Accept-Language: en
X-ELN-Date: 21 Sep 1999 11:38:44 GMT
X-ELN-Insert-Date: Tue Sep 21 04:45:09 1999
Organization: Nocturnal Aviation
Mime-Version: 1.0
NNTP-Posting-Host: dialup-209.246.104.23.newyork2.level3.net
Message-ID: <37E76EC1.92A04E33@earthlink.net>
X-Mailer: Mozilla 4.61 [en] (Win95; U)
Lines: 25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


Roger wrote:
> 
> How do I get dubbeldigit numbers? If my randomize get number 4,then I want it
> to write out 04..Can I do it in Rhide??

#include <stdio.h>
int main(void)
{
   int x = 4;
   printf("%02d\n", x);
   return 0;
}

Neither randomize nor RHIDE have anything to do with your problem.


-- 
Martin Ambuhl	mambuhl AT earthlink DOT net

__________________________________________________________
Fight spam now!
Get your free anti-spam service: http://www.brightmail.com

- Raw text -


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