Solved

simple arrays and pointers

Posted on 1998-11-06
2
195 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
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 130 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to find a data that is pure string   or not in vb.net ? 9 108
Using unmanaged DLL from managed application 14 294
distributed computing in Python 4 122
delete-remove 14 84
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…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

776 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