Where do you create FoodLists?
--
Mats
Where do you create FoodLists?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
I dont know what you mean!
I have 2 header files, each contain classes.
ones Nutricalc and ones Foodlists.
Here is almost all of the project.
Right, I mean where is there a FoodLists variable being instantiated?
Somewhere in the code, I suspect you have something like this:
orCode:FoodLists list;
--Code:FoodLists *list = new FoodLists;
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Which of those files contain your main()?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
FoodData contains main()
thats almost the whole program minus 2 files for validation.
I need to get some sleep, i will check back in the morning.
Last edited by mrsirpoopsalot; 05-26-2009 at 04:14 AM.
So, the destructor for FoodLists should be called when you exit main(). If it's not, either your debugger or compiler are broken.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.