Re: Programs with if statements not working

From: André Pönitz (poenitz_at_gmx.net)
Date: 01/06/04


Date: Tue, 6 Jan 2004 12:08:02 +0000 (UTC)

Ken <pianoqst@aol.com> wrote:
> I am very new to programming in C++ and I interpreted your advice
> "include the header <climits> to use 'INT_MAX' " and did the
> following:
>
> #include <iostream> <climits>
>
> and got this warning - [Warning] extra tokens at end of #include
> directive.
>
> I don't know what that means. Did I do it incorrectly?

Yes. You need two lines:

         #include <iostream>
         #include <climits>

Andre'