Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.c
Re: how to use "long" with printf
Seebs
2/8/2011 10:58:00 PM
On 2011-02-07, Ram Prasad <ramprasad.ap@gmail.com> wrote:
> I have a simple demo program that demonstates use of recursion ( on linux )
> The problem is that it does not work for "long" integers. I assume this is a problem with printf
No.
> I tried %l instead of %d but that doesnot print any integer.
Try %ld.
-s
--
Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net
http://www.seeb...
<-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/...
(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: how to use "long" with printf
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password