No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey, I could have posted this in my other thread, but i though this was strange enough to make a thread of it. So im still working on the program mentioned in my other thread, it runs with a main menu procedure. When the user selects a menu option, program … |
|
Hi everyone, My program is meant to be / do: A quiz about the bible ( < my teacher decided that <). Using an array of records with a text file (working) it runs the quiz and lets user print off their results at the end. each question must be … |
|
Hi everyone, Before i outline my problem, i DO have an alright idea of how i'll code this thing, it's just i'm unsure and wondering if there's a better or shorter or a more simple way. Ok im at the end of my current term of programming and it's Assignment … |
|
Here's the code i've done so far: [CODE]PROGRAM MORSE_CODE_TRANSLATOR; USES CRT; VAR Sentence : STRING[25]; {Maximum of 25 characters in sentence} MorseOut, EnglishIn, EnglishOut : STRING; Count : INTEGER; KEY : CHAR; PROCEDURE AnyKey;Forward; {~~~~~~~~~~~~~~~~~~~~~~EXTRA PROCEDURES~~~~~~~~~~~~~~~~~~~~~~~~~} PROCEDURE AnyKey; {Makes the program move on when any alphanumerical key is pressed} VAR … |
|
Re:
This code uses a structure to map a letter to an equivalent representation of Morse code. It simply loops through either a string to encode or decode looking for text to substitute with a replacement string or character. Output is presented to the stdout. |