So, I get what you mean. I inserted the code below after line 30:
newO->orders = (ORDER*)malloc(sizeof(ORDER));
But now, I am having another problem. The first two transactions works well,...
Type: Posts; User: begoodtome
So, I get what you mean. I inserted the code below after line 30:
newO->orders = (ORDER*)malloc(sizeof(ORDER));
But now, I am having another problem. The first two transactions works well,...
Hello tabstop,
I think what you said is what I needed now. Can you show me an example on how this is usually done?
It's been 5 days and still I was not able to solve the problem. I have created a new code though. A bit similar to the previous, but only the user can now just order 1 name food every transaction....
I'm currently working on it right now. Hopefully, I could get it.
I just actually did what you said Salem. I just changed the pointer array into 2D array. Also, have you noticed that when you execute the program, for example, you have 2 kinds of food to order on...
Thanks for responseDone this but my compiler gives me an error, so I keep using ->.And also, I still have a problem. When I place on a new order, it prints out characters and symbols.
Hi guys I need your help. Basically this is a restaurant ordering program where a customer can ordering multiple kinds food in one order/transaction.
For example, i will input:
Table Number: 1...