i want to write a ticket reservation program.
i pure new begineer...
anyone can give me a simple coding for add,delete data?
i want to write a ticket reservation program.
i pure new begineer...
anyone can give me a simple coding for add,delete data?
Add/Delete from what?
Perhaps you should read up on the basics of programming before you ask a question. What you asked was really too vague to answer. Add/Delete can mean assigning values, it could mean constructing/destructing objects, it could mean dynamically allocating pointers... you need to give some more info.
Sent from my iPadŽ
First you need a class to hold the data for one reservation. Then, just use a vector to hold all the instances of reservations and push_back or erase from the vector.
Generally you give it your best try...then come here and ask specific questions about specific problems you are having.
STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.