Re: A question about how to enter a very long number.



CBFalconer <cbfalconer@xxxxxxxxx> writes:
Mark McIntyre wrote:

... snip ...

What is the largest number you can hold in an int?

INT_MAX, as read from <limits.h>.

By snipping most of Mark's message, you give the impression that he's
not already perfectly well aware of that. His intent, I think was to
encourage the OP to think about these questions, not to solicit
answers to be posted here.

--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.



Relevant Pages

  • Re: Alignment, Cast (more about structs...)
    ... snip ... ... which would require a universal alignment multiple of 12. ... That was not a 2 byte int, ... Chuck F (cbfalconer at maineline dot net) ...
    (comp.lang.c)
  • Re: Automatically generate variables
    ... CBFalconer wrote: ... snip ... ... int main ... using either form may fail to be processed. ...
    (comp.lang.c)
  • Re: Good Tutorials
    ... CBFalconer writes: ... snip ... ... Sorry, but a short int is exactly two bytes, and in order to use ... Keith Thompson kst-u@xxxxxxx ...
    (comp.lang.c)
  • Re: Converting to/from pointer
    ... CBFalconer wrote: ... snip ... ... subset of Tibetan that is legal C++. ... functions returning int, including every main. ...
    (comp.lang.c)
  • Re: Mathematics of the Enigma cipher?
    ... snip ... ... int GetCurrentPos ... int CharacterMap(char Char) ... Chuck F (cbfalconer at maineline dot net) ...
    (comp.programming)