lundi 3 mars 2014

NetBeans 6.8 for C does not recognize 'bool' (C/C++ noob)


Vote count:

0




I'm currently working on an implementation of a doubly linked list (teaching myself c in preparation for the arrival of my rasp-pi!), and i'v encountered an odd error message. NetBeans doesn't seem to recognize the boolean data-type. What's strange is that i can implement booleans in both of the other classes in the project (main.c & dLinkedList.h). So far i've tried re-installing & updating cygwin (did not resolve the problem). I'll attach some screen shots below.


boolean test in main.c


enter image description here


boolean test in dLinkedList Header


enter image description here


boolean test in dLinkedList.c



![enter image description here][3]


Additionally, both my main.c and dLinkedList.c contain the following headers:



#include <stdlib.h>
#include"dll.h"


Any insights would be tremendously appreciated!




crashmstr

14.2k

asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire