Thread: Unlimited Inputs and Determines which is greatest and lowest

  1. #31
    Registered User
    Join Date
    Jan 2008
    Posts
    32
    please you have to understand im just starting my class


    anyways what was that ?

    do i have to assign a max integer and the min integer ???

  2. #32
    Registered User
    Join Date
    Jan 2008
    Posts
    32
    waaaaaaaaaaaaaaaaa


    someone please help me T_________T huhuhu

  3. #33
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Patience!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #34
    Registered User
    Join Date
    Jan 2008
    Posts
    32
    elysia

    could you please elaborate this one here...

    this is the part i could not understand

    Code:
    if(isFirst){
            Biggest = V;
            Smallest = V;
            isFirst = FALSE;
        } else {
            Biggest =     this one >>>>>  __max  and this  one >>>>  (V , Biggest);
            Smallest = __min                         (V , Smallest);
        }
    }

  5. #35
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Returns the larger of two values.

    type __max(
    type a,
    type b
    );

    Parameters
    type
    Any numeric data type.

    a, b
    Values of any numeric type to be compared.

    Return Value
    __max returns the larger of its arguments.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #36
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    If you can't get to an answer in 3 pages of forum posts then its obvious that you need a book or some such real-time personal help. Getting posts on here every few hours is not going to help you learn to program.

    This may seem like advanced calculus to you, but to even most beginners this is barely more than 1+1. If you really think you've got what it takes to learn to program then show some comittment by doing some learning in your own time.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed