I have 2 questios.
1: what do the error messages say?
2: It looks to me like the whole program is turned into a comment! If not, whats the /* doing?
murschech
Junior Poster in Training
60 posts since Dec 2004
Reputation Points: 21
Solved Threads: 1
>typedef NutritionFacts Type;
Header files don't magically know about each other. You need to tell them. For example, if node.h needs a name declared in nutritionfacts.h, you must include nutritionfacts.h in node.h before using the name.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
The thing is that i dont create projects to do my work.
You may want to investigate makefiles. Then you can use your favorite editor and still write modular code the correct way.
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314