|
From: Shawn <tre...@gm...> - 2008-02-11 23:37:03
|
Thanks, but the compiler is still saying 'TRUE' undeclared (first use
this function) and points me to the line where I initialize it to TRUE
at the beginning of my program.
bool output = TRUE;
I thought that as soon as you call bool, the compiler knows it's either
going to be true or false?
pepone.onrez wrote:
> dev...@li...
> <mailto:dev...@li...>
>
> On Feb 12, 2008 12:09 AM, Shawn <tre...@gm...
> <mailto:tre...@gm...>> wrote:>
> >but then what would I put just before the total shipping charges line
> so it wouldn't print?
> if(output == TRUE){
> //output is TRUE to what you whan
> }else{
>
>
>
> }
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> <mailto:Dev...@li...>
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|