An event can be described using a time stamp and a string.
For simplicity let’s assume all events happen in the same day, so no need to maintain a date. hours are between 0 and 23 inclusive,minute is between 0 and 59 inclusive. string can hold up to 40 usable characters.
Create a self-referential structure definition called event in C that contains hour, minute and description as described.
2. Create an alias using typedef in C for event call it Event.
3. Call your pointers ptrFirst and ptrLast. Initially both pointers are NULL indicating it is an empty list (global)
Write a program that can read the sequential text file mylist.txt,
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment