Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void createFood(){
- Food meat;
- meat.type = new char[strlen("meat") + 1]; strcpy(meat.type, "meat");
- meat.dayPurchased = 28.02;
- meat.weight = 0, 30;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement