Forum: Pascal and Delphi Oct 12th, 2009 |
| Replies: 4 Views: 435 Thank you for your prompt reply. Yes, I want to calculate the value of the variable (evens). Just follow the source code in my head, or on paper. But how can I do in this way?
Maybe, it is not... |
Forum: Pascal and Delphi Oct 12th, 2009 |
| Replies: 4 Views: 435 It is the attached document. |
Forum: Pascal and Delphi Oct 12th, 2009 |
| Replies: 4 Views: 435 Dear ALL,
Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question?
... |
Forum: Pascal and Delphi Oct 2nd, 2009 |
| Replies: 2 Views: 469 Dear ALL,
Could you tell me what is wrong of my program? The problem is the following wording are often restart: "PLEASE RUN THIS PROGRAM IN A MAXIMUM WINDOW..., TONY YEUNG PRESENT...
How can... |
Forum: Pascal and Delphi Sep 22nd, 2009 |
| Replies: 5 Views: 510 Dear Sir,
Thank you for your help.
Cheers, |
Forum: Pascal and Delphi Sep 21st, 2009 |
| Replies: 5 Views: 510 Hi,
Thank you for your kind reply. I am using Borland Delphi but what is TFileStream?
Cheers, |
Forum: Pascal and Delphi Sep 21st, 2009 |
| Replies: 5 Views: 510 Dear ALL,
Could you tell me how can I write a program that writes to a text file, the 32 people that are in our hotSeat.txt file.
Cheers,
turbomen
(p.s.: 'the question orginally ask me to... |
Forum: Pascal and Delphi Sep 21st, 2009 |
| Replies: 2 Views: 488 Dear All,
Could you tell me how can I read from the hotseat.txt file all the records and sort by first name. Finally, list the sorted results on the screen.
Cheers,
turbomen |
Forum: Pascal and Delphi Sep 15th, 2009 |
| Replies: 13 Views: 786 I am still thinking what I want to do for the coding.
It is not easy. |
Forum: Pascal and Delphi Sep 15th, 2009 |
| Replies: 13 Views: 786 Dear Sir,
Can I do in the following way??
Program xxx;
{$APPTYPE CONSOLE} |
Forum: Pascal and Delphi Sep 15th, 2009 |
| Replies: 13 Views: 786 Dear Sir,
Could you tell me where I want to code 'a question procedure'? May I want to code it after Procedure ShowFinalists?
Cheers, |
Forum: Pascal and Delphi Sep 10th, 2009 |
| Replies: 13 Views: 786 Thank you for your kind help. Let me try it on tonight. |
Forum: Pascal and Delphi Sep 8th, 2009 |
| Replies: 13 Views: 786 Dear Sir,
May I want to add the new procedure to write out the question after the coding of WriteLn(' 2 Generate the 10 finalist''s numbers'); ??
It makes me crazy.
Cheers, |
Forum: Pascal and Delphi Sep 4th, 2009 |
| Replies: 13 Views: 786 Dear Sir,
Sorry, I did not express very well. Can you catch my meaning?
Cheers, |
Forum: Pascal and Delphi Sep 3rd, 2009 |
| Replies: 13 Views: 786 Dear Sir,
Sorry, I did not express it very well. Hm... Let me see. After the player select '2 Generate the 10 finalist's numbers. All the 10 persons can have chance to win the great price. For... |
Forum: Pascal and Delphi Sep 3rd, 2009 |
| Replies: 13 Views: 786 It's the hotSeat.txt file.
Plese change the following line:
assign(hotSeat_file,'hotSeat.dat');
into assign(hotSeat_file,'hotSeat.txt'); |
Forum: Pascal and Delphi Sep 3rd, 2009 |
| Replies: 13 Views: 786 Dear Sir,
Could you please give me some of the ideas of making the hotSeat game in pascal?
The following is the simple mode of my coding:-
Program yeungkt1; |
Forum: Pascal and Delphi Aug 29th, 2009 |
| Replies: 2 Views: 472 Dear ALL,
I have tried to demonstrate the card game problem by myself. The card game is come together with 52 cards. It has Spade, Heart, Club and Diamond - Spade > Heart > Club > Diamond. It... |
Forum: Pascal and Delphi Aug 27th, 2009 |
| Replies: 8 Views: 811 How about if the card game has the numbers 2,3,4,5,6,7,8,9,10,J,Q,K,A. Are there any changes of the program? |
Forum: Pascal and Delphi Aug 27th, 2009 |
| Replies: 1 Views: 357 Could you mind telling me what can I do for the following question?
To write a skeleton program for the assignment. It should have a menu system with at least 5 options. The menu keeps repeating... |
Forum: Pascal and Delphi Aug 27th, 2009 |
| Replies: 8 Views: 811 Thank you for your clear expression. Are there any changes if the card game has 52 cards? |
Forum: Pascal and Delphi Aug 20th, 2009 |
| Replies: 1 Views: 413 Dear Sir,
Could you tell me how can I do the following question?
A positive integer is entered from the keyboard. If it's even, all even integers from 2 up to and including the entered integer... |
Forum: Pascal and Delphi Aug 19th, 2009 |
| Replies: 3 Views: 501 Dear Sir,
Sorry, I forget to mention about the cards and the rule of it.
It is come together with 52 cards, from A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2. and Spade > Heart > Club > Diamond.
... |
Forum: Pascal and Delphi Aug 18th, 2009 |
| Replies: 3 Views: 501 Dear All,
Could you mind telling me how to code with the card game? It has 52 cards and it comes together with Spade, Heart, Club and Diamond. There are 2 people play together for 8 times, after... |
Forum: Pascal and Delphi Aug 18th, 2009 |
| Replies: 8 Views: 811 Dear Sir,
I have some of the problem to catchup your problem. Would you mind expressing it again?
Cheers, |
Forum: Pascal and Delphi Aug 16th, 2009 |
| Replies: 8 Views: 811 Dear Sir,
I know what I do not understand. It is the coding between both parties. For example when I code RPS, guessing games, Head & Tail are only one part of the parties are random. But both... |
Forum: Pascal and Delphi Aug 16th, 2009 |
| Replies: 8 Views: 811 1. Yes, I do. But my coding is not for randomly. Could you tell me how to do it?
2. I know how to do this part. Thank you.
Dear Sir,
Would you mind showing it to me clearly? I cannot... |
Forum: Pascal and Delphi Aug 15th, 2009 |
| Replies: 8 Views: 811 Dear Sir,
I have made a question by myself. For example: I am playing the card game to my friend. The card has Spade, Heart, Club and Spade as usual but no number. How can I do if I only play... |
Forum: Pascal and Delphi Aug 6th, 2009 |
| Replies: 10 Views: 561 Dear ALL,
I still got some of the problem on the understand of the following coding:
program RPSii;
{$APPTYPE CONSOLE}
uses |
Forum: Pascal and Delphi Aug 6th, 2009 |
| Replies: 10 Views: 561 Dear Mehrdad Nekoei and all the brothers
Thank you for your help on this program. Could you tell me what is the meaning of 1-3 at the case statement? I have tried to revise the order 3,2,1 but I... |
Forum: Pascal and Delphi Aug 5th, 2009 |
| Replies: 10 Views: 561 Hi Pico,
Thank you for your help.
I have tried to do it in your way but it doesn't work. |
Forum: Pascal and Delphi Aug 5th, 2009 |
| Replies: 10 Views: 561 Hi Placo,
Thank you for your kind reply but could you tell me what can I do?
Cheers, |
Forum: Pascal and Delphi Aug 5th, 2009 |
| Replies: 10 Views: 561 Dear Sir,
Could you tell me what is (are) wrong of the following answer:-
Question:-
Create the first half of a game of rock, paper, scissors. Ask the user for R, P or S. Get the computer... |
Forum: Pascal and Delphi Jul 29th, 2009 |
| Replies: 1 Views: 341 Dear Sir,
I have got the answer of the following question but I do not understand why it has been done in this way:
3. Your task is to create a game of Heads or Tails against the computer.... |
Forum: Pascal and Delphi Jul 29th, 2009 |
| Replies: 3 Views: 480 Sorry, I am late reply.
The above question is to ask me to create a table to show what happens to each variable during this code segment
Which means num1, num2 and Output num2 can have more... |
Forum: Pascal and Delphi Jul 26th, 2009 |
| Replies: 3 Views: 480 Dear ALL,
Could you tell me how can I get num1, num2 and Output 2 for the following programme.
program Project2;
{$APPTYPE CONSOLE} |
Forum: Pascal and Delphi Jul 15th, 2009 |
| Replies: 7 Views: 783 Dear Sir,
Thank you for your kind expression. I really understand your meaning.
Cheers, |
Forum: Pascal and Delphi Jul 14th, 2009 |
| Replies: 7 Views: 783 Dear Sir,
Thank you for your kind help but could you mind telling me what is the meaning of the variable 'counter'?
Cheers, |
Forum: Pascal and Delphi Jul 14th, 2009 |
| Replies: 4 Views: 652 Dear Sir,
Thank you for detailed expression.
Cheers, |
Forum: Pascal and Delphi Jul 13th, 2009 |
| Replies: 4 Views: 652 Dear Sir,
I have got confused to the real / integer. Would you mind helping to express it to me?
I have got the answer of the following question:
Write a menu system for the currency... |