C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 7th, 2013, 07:27 AM
zahra05 zahra05 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 2 zahra05 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 52 sec
Reputation Power: 0
Classes - Using double link list

anyone plz help me to solve this problem as soon as possible

Problem Statement:

Write a program that asks user to enter information of a student and then save it in a doubly
linked (bi-directional) sorted list. Moreover you should be able to retrieve a particular entry and modify/
remove/print it to a text file.

Following should be the prompt shown to user at start of program and after every operation indicated in
the prompt.

"
Please choose one of the following options:

1 - Add a new student's info
2 - Edit a student's info
3 - Get a student's info
4 - Print info to a text file
5 - Exit Program
"

Your design should follow these outlines for each prompt:

- For "Add a new student's info" (ASK)
-- Student Name
-- Father Name
-- Registration Number
-- Section
-- Major Area of Interest
-- Current CGPA

- For "Edit a student's info" (ASK)
-- Edit student entry
-- Search by (ASK)
1 - Student Name
2 - Registration No
-- Display on screen in a nice readable format
-- Allow user to choose field to edit (ASK)
1 - Student Name
2 - Father Name
3 - Registration Number
4 - Section
5 - Major Area of Interest
6 - Current CGPA
-- Save edited info for that student
-- remove a student entry
-- Search by (ASK)
1 - Student Name
2 - Registration Number
-- remove entry

- For "Get a student's info"
-- Search by (ASK)
1 - Student Name
2 - Registration Number
-- Display on screen in a nice readable format


- For "Print info to a text file" (ASK)
1 - Particular student
-- Search by (ASK)
1 - Student Name
2 - Registration Number
2 - All students

-- Target text file name (ASK)
-- Target text file path (ASK)

- For "Exit Program"
-- remove all elements in list
-- Just exit main function

Guidelines:

- Develop a 'Student' class (No need for template) to hold the student info mentioned
- Develop a sorted doubly linked list to hold all student objects, you can sort it
for any field of student class you want.
- At every step confirm entry before moving on to next one when inputting data
- Write data to text file if asked in a nice readable format with proper indentation
- Main program should have an infinite while loop to continously run but a
terminaring condition inside to break in case user wants to exit program

Reply With Quote
  #2  
Old January 8th, 2013, 01:46 AM
zahra05 zahra05 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 2 zahra05 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 52 sec
Reputation Power: 0
sorry i can't understand your answer.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > Classes - Using double link list


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap