?
Solved

simple arrays and pointers

Posted on 1998-11-06
2
Medium Priority
?
199 Views
Last Modified: 2010-04-15
Pls help with this project i have to do! Thanx
this is the main menu screen
-------
A student Tracking system
        Main Menu
1. Create Student record (Student ID, Name, Address, Telephone)
2. Enquiry
3. Delete Record

Choice :
--------
Qn 1) Implement above system using Array of records (static data structure)
Qn 2) Implement above system using Pointers (Dynamic Data Structure)

Must use files to store min 10 records permanently
files can be shared by pointers and array
0
Comment
Question by:wilddream
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Expert Comment

by:kellyjj
ID: 1254090
This isn't really the place to get other people to do your homework.  You should try to do this yourself, then ask questions related to to code,
0
 
LVL 3

Accepted Solution

by:
arnond earned 260 total points
ID: 1254091
here are some "pointers" for you:
1) staticlly : use an array of a pre-determined size.
2) dynamiclly: use some sort of linked-list.
both methods should use a structue to hold the students info.
as for the files:
* use a counter to see how many students are in your system and don't delete if its <= 10.
* you can use the files for both versions, it's onlt raw data which you need to read at the beginning of your program.

and don't forget, EE is a place you can get help, not get your homework done for you.

Good luck,
Arnon David.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question