Re: how to print a short and long integer?
- From: Jack Klein <jackklein@xxxxxxxxxxx>
- Date: Sat, 24 Sep 2005 23:29:03 -0500
On Sun, 25 Sep 2005 04:14:29 GMT, "a" <a@xxxxxxxx> wrote in
comp.lang.c:
> short s;
> long l;
> s= -2;
> l= -3;
> printf("% _ %_",s, l);
> What characters should be filled out in the formatted string for output?
> Thanx
What does your C reference book say?
What does your compiler's library manual, online help file, or man
pages tell you?
Why do you think usenet is a substitute for looking up basic
information in standard references?
Type this string into the search box at google.com:
printf "conversion specifiers"
....and follow the first link.
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
.
- References:
- Prev by Date: Re: open and read functions (can't make 'read' work..)
- Next by Date: Re: how to print a short and long integer?
- Previous by thread: Re: how to print a short and long integer?
- Next by thread: Re: how to print a short and long integer?
- Index(es):
Relevant Pages
|