• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: why does this not work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why does this not work?


  • Subject: Re: why does this not work?
  • From: Robert Dell <email@hidden>
  • Date: Thu, 02 Feb 2006 18:07:45 -0500

Gregory Weston wrote:
On Feb 2, 2006, at 7:20 AM, Nils Holland wrote:

struct expskill
{
  long     skillvalue;
  long     skillreqs;
  long     skillNeeded;  // WAS bool
  long     skillexclude; // WAS bool
  char     skillname[80];
  bool     whyDoesThisParameterNotWork;
} myarmor[8], myweapon[25], mymagic[5], mysurvival[15], mylore[13],
myinstruments[5], swap;

Because the data type "bool" doesn't exist in C?


It has for about 6 years, now. But it might help the OP to #include <stdbool.h>.

thanks guys

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: why does this not work? (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: Advice: Plugin preference strategy
  • Next by Date: Re: Keyboard navigation for a view
  • Previous by thread: Re: why does this not work?
  • Next by thread: Objective-C or Objective-C++
  • Index(es):
    • Date
    • Thread