Bool?

This is a discussion on Bool? within the C++ Programming forums, part of the General Programming Boards category; I'm using Borland version 4.52 and it doesn't recognize bool... is there an equivelant i can use? or is their ...

  1. #1
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Question Bool?

    I'm using Borland version 4.52 and it doesn't recognize bool... is there an equivelant i can use? or is their a special library for bool that I haven't been including?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789

    Re: Bool?

    Originally posted by drdroid
    I'm using Borland version 4.52 and it doesn't recognize bool... is there an equivelant i can use? or is their a special library for bool that I haven't been including?
    Your compiler is too old......

    With all the free compilers on the net, you should simply get a newer version (borland offer a newer one for free)

    Alternatively


    typedef int bool;
    #define true 1
    #define false 0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. passing params between managed c++ and unmanaged c++
    By cechen in forum C++ Programming
    Replies: 11
    Last Post: 02-03-2009, 07:46 AM
  2. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  3. Smart pointer class
    By Elysia in forum C++ Programming
    Replies: 63
    Last Post: 11-03-2007, 07:05 AM
  4. Headers that use each other
    By nickname_changed in forum C++ Programming
    Replies: 7
    Last Post: 10-03-2003, 04:25 AM
  5. Need Help With an RPG Style Game
    By JayDog in forum Game Programming
    Replies: 6
    Last Post: 03-30-2003, 07:43 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21