Excellent, thank you very much.
I didn't mean to sound offended and I am more than open for criticism. I just didn't like the way you shot it out without any explanation.
Anyway, you are correct...
Type: Posts; User: tmrsgv
Excellent, thank you very much.
I didn't mean to sound offended and I am more than open for criticism. I just didn't like the way you shot it out without any explanation.
Anyway, you are correct...
First of all, I just started C two months ago, so I wouldn't be surprised if I make mistakes (even if there were plenty of them...)
second, you can be helpful instead of wondering why my formatting...
What I'm posting are two functions: one for adding a passenger to a flight and the other is to cancel a flight ticket per passenger.
void buy_ticket(flights_list* flights, passengers_list*...
Thanks for the suggestions...I dont know how to call it but what I ended up doing was to take the "free" function and place it in random places after the line where I used its "malloc".
Weird as it...
Hi,
I have an assignment on pointers and chain structures.
Basically, we wrote a program that acts like flight ticketing system (add flight, add passenger, assign passenger to flight, delete...
Although I still cannot use malloc\free functions because it wasn't learnt in class yet, I declared the array on top of the code at maximum dimensions ([15][15]) and I only use the dimension the user...
thanks for the fast reply!
The array dimensions are constant until the user wants to change them again (by inputting "row" and "col" again), so how can I get the dimensions from the user if the...
Hello,
I have just started learning C as a course i'm taking in univ'.
I need to make and manipulate a matrix (I assumed by using two-dimensional array) but when I try to declare and initialize...