Guest_imported
New member
- Jan 1, 1970
- 0
Help would be great.
I have created a structure that has different items included.
I want to be able to find all info for a specific item and sort all the data if necessary.
It's a cooking menu.
struct
{
char meatType;
char Recipe;
char cookMethod;
char cookTime;
char amountFeeds;
} cookBook;
/* I want to be able to find all char.meatType that were stored that contained Pork, also I would like to sort them by meat type. Example
Chicken
Beef
Fish
Pork
Not much good with structure or class methods. Just recently bought the studio and am still learning.
Or should I use some other means than C++ ??
*/
I have created a structure that has different items included.
I want to be able to find all info for a specific item and sort all the data if necessary.
It's a cooking menu.
struct
{
char meatType;
char Recipe;
char cookMethod;
char cookTime;
char amountFeeds;
} cookBook;
/* I want to be able to find all char.meatType that were stored that contained Pork, also I would like to sort them by meat type. Example
Chicken
Beef
Fish
Pork
Not much good with structure or class methods. Just recently bought the studio and am still learning.
Or should I use some other means than C++ ??
*/