View Single Post
Old Mar 23rd, 2008, 10:53 PM   #5
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 600
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Regarding Dining Philosophers Problem

int main(argc, argv)
int argc;
char *argv[];
{
OMG you mean some people still code like that??? I haven't seen that style of coding for probably 20 or more years. Is your compiler really that ancient? Even the C standards don't recommend that original K&R style. I see you didn't use that style anywhere else so why in main() ?
int main(int argc, char* argv[])
{

I know my comments don't help solve your problem, but it will take some time to sift through your code.
__________________
<<Freelance Programmer>> << Hobby Site>>
Ancient Dragon is offline   Reply With Quote