why does this not work?
why does this not work?
- Subject: why does this not work?
- From: Robert Dell <email@hidden>
- Date: Thu, 02 Feb 2006 06:43:11 -0500
i'm converting one of my data structures to c from objective-c in order to use it in a web cgi program (new command-line tool).
the problem is having boolean values inside a structure, the compiler goes nuts.
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <pwd.h>
#include <string.h>
#include <time.h>
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;
_______________________________________________
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