Search:

Type: Posts; User: tmrsgv

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    2,324

    Excellent, thank you very much. I didn't mean to...

    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...
  2. Replies
    13
    Views
    2,324

    First of all, I just started C two months ago, so...

    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...
  3. Replies
    13
    Views
    2,324

    What I'm posting are two functions: one for...

    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*...
  4. Replies
    13
    Views
    2,324

    Thanks for the suggestions...I dont know how to...

    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...
  5. Replies
    13
    Views
    2,324

    "Heap corruption detected" Error

    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...
  6. Replies
    6
    Views
    1,679

    Although I still cannot use malloc\free functions...

    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...
  7. Replies
    6
    Views
    1,679

    thanks for the fast reply! The array...

    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...
  8. Replies
    6
    Views
    1,679

    Error while trying to initialize array /:

    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...
Results 1 to 8 of 8