Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > The IT Pro > Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Programming A discussion forum for programs and programming used in tech-related businesses.

Closed Thread
 
LinkBack Thread Tools
Old 12-06-2006, 10:49 AM   #1 (permalink)
Registered User
 
Join Date: Dec 2006
Posts: 1
OS: WinXp


C programming help please.

i have to write a program and im new to C so im not real sure where to start any help is appreciated.




The Cape Fear Airlines has one plane with a seating capacity of 12. It makes one flight daily. Write a seating reservation program with the following features:

The program uses an array of 12 structures. Each structure should hold a seat ID number, a marker that indicates whether the seat is assigned, the last name of the seat holder, and the first name of the seat holder.

The program displays the following menu:
To choose a function, enter its number:
1. Show the number of empty seats
2. Show a list of empty seats
3. Show by last name an alphabetical list of assigned seats
4. Assign a customer to a seat
5. Delete a seat assignment
6. Quit

The menu should be displayed after each choice except for choice 6.
Data is saved in a file between runs. When the program is restarted, it first loads in the data, if any, from the file.
ViVaLaLude00 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 12-06-2006, 02:52 PM   #2 (permalink)
Manager Emeritus, I'm blond, James Blond
 
Zazula's Avatar
 
Join Date: Apr 2006
Location: Athens, Greece
Posts: 7,667
OS: Win XP Pro SP2


Send a message via MSN to Zazula
Hello, ViVaLaLude00, and welcome to TSF. It looks as if this is a homework assignment of yours; and our Forum cannot and will not do your homework for you. You will learn more and get a better education if you do your own homework assignments. Therefore, we can't condone anyone assisting you with the work that YOU are supposed to do. Some friendly advice - if you can show us that you have really worked hard on that and are currently facing a dead-end, then we might be able to help you a bit clear things up; but we certainly won't help right from the start and do it in lieu of you. This thread is closed - if you have a good reason for wanting it opened again you can always send me a PM.
__________________

"Time is the wisest because it discovers everything" Thales of Miletus (ca.624BC-ca.546BC)
"Everything flows, nothing stands still." Heraclitus of Ephesus (ca.535BC-475BC)
"One thing I know, that I know nothing" Socrates of Athens (ca.470BC–399BC)
Zazula is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 12:10 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85