Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.![]() ![]() |
Feb 22 2005, 03:08 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 74 Joined: 9-November 04 Member No.: 4,802 |
I just got this assignment for Turbo Pascal: ![]() I don't have a problem with the first parts, as in writing a program which takes in all the info. That I can do. I just don't know how I can reproduce the data into the tables (figure 1 and 2) or how to create the certificate. You don't have to tell me what exactly I should do (since this is my homework), all I want is to be pointed to the right direction. Anyone? |
|
|
|
Feb 23 2005, 04:40 AM
Post
#2
|
|
![]() The computer whisperer ![]() ![]() ![]() ![]() ![]() ![]() Group: HJT Team Coach Posts: 4,287 Joined: 22-October 04 From: Shermer High School Member No.: 3,942 |
You could use a file to make data persistent. And with record structures you should be able to walk through them.
It's been about 10 years since I've done Pascal, but I'm quite up to date with Delphi (Object Pascal), but as far as I know it's something like this. TSummary = record ID: Integer; Name: string; Jazz: Integer; Classical: Integer; Reggae: Integer; Rock: Integer; Total: Integer; Average: Integer; end; X: file of TSummary; -------------------- |
|
|
|
Mar 7 2005, 10:37 AM
Post
#3
|
|
|
Member ![]() ![]() Group: Members Posts: 74 Joined: 9-November 04 Member No.: 4,802 |
Thanks for trying
I found another way of doing it, but I won't bore you with the details. |
|
|
|
Mar 8 2005, 08:30 AM
Post
#4
|
|
![]() The computer whisperer ![]() ![]() ![]() ![]() ![]() ![]() Group: HJT Team Coach Posts: 4,287 Joined: 22-October 04 From: Shermer High School Member No.: 3,942 |
QUOTE(surgirl @ Mar 7 2005, 04:37 PM) Thanks for trying I found another way of doing it, but I won't bore you with the details. I work with Delphi/C++ and Assembly for a living wo you won't bore me with it. Mabe others, but not me -------------------- |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 7th October 2008 - 03:21 AM |