Find Jobs
Hire Freelancers

project c

$30-40 USD

Complété
Publié il y a plus de 20 ans

$30-40 USD

Payé lors de la livraison
ObjectivesThis project will give you practice * working with external data files, * manipulating character data, * using command line arguments, * working with two-dimensional arrays, and * writing recursive functions. Background - ASCII ArtManipulating character data is a common task performed by computer programs. So, it makes sense that there should be a standard format in which to store characters, just as there are standard formats for storing numeric data. ASCII (American Standard Code for Information Interchange), developed by the American National Standards Institute (ANSI), is one such format. It is also currently the most common character storage format. According to the ASCII standard, each character (number, letter, symbol, control character) is represented as a unique one-byte bit pattern. (See Appendix D of your textbook.) Text files, such as your program source code and data files, are simply sequences of ASCII characters. Back in the "old days" (when I was your age?), computer monitors could not display graphics as we know them today. Pictures were simply displayed as lines of text. Well, people soon got creative, and ASCII art was born. Here is a sample of some ASCII artwork (a Cessna 150): | ____________________|____________________ \ | | / `.#####.' /`#_#'\ O' O `O Pretty cool, huh? (OK, so it's not Soul Calibur II.) There are thousands of interesting, and quite impressive, pieces of ASCII art on the web. Just do a Google search on "ascii art" and you'll see. ## Deliverables Need it on 11/20/03 with all comments and working copy of project. Sample pattern file and sample output files are attached. thanks The TaskYou are to write a program that will read an ASCII art pattern from a file, display the pattern on the screen within a border, and allow the user to move the pattern up, down, left, and right within the border. If the user moves the pattern partially or totally out of the border, the pattern will be partially or totally lost, respectively. More Details * The name of the file containing the ASCII art pattern must be read from the command line. That is, the program is invoked as follows: [login to view URL] filename where " `filename`" is the name of the pattern file (e.g., `[login to view URL]`). * A pattern will always have exactly 20 rows and 50 columns (use #define's). * The pattern must be moved up, down, left, or right within the same array. That is, do not copy the pattern back and forth between two arrays. * Surround the pattern by a border as shown below in Sample Output. * The user may move the pattern by any positive integer amount in any of the four directions (watch out for seg faults!). * The user's choice from the pattern movement menu can only be one of the letters L, l, R, r, U, u, D, d, Q, and q; i.e., you cannot use numbers for the choices. * The function(s) you write to display the pattern and the border must be written recursively; i.e., _no loops allowed_. 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform LINUX and UNIX
N° de projet : 3012435

Concernant le projet

7 propositions
Projet à distance
Actif à il y a 20 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
See private message.
$15 USD en 3 jours
4,9 (195 commentaires)
5,7
5,7
7 freelances proposent en moyenne $24 USD pour ce travail
Avatar de l'utilisateur
See private message.
$23,80 USD en 3 jours
5,0 (52 commentaires)
4,9
4,9
Avatar de l'utilisateur
See private message.
$28,90 USD en 3 jours
5,0 (20 commentaires)
4,3
4,3
Avatar de l'utilisateur
See private message.
$34 USD en 3 jours
5,0 (14 commentaires)
2,2
2,2
Avatar de l'utilisateur
See private message.
$17 USD en 3 jours
5,0 (5 commentaires)
1,8
1,8
Avatar de l'utilisateur
See private message.
$29,75 USD en 3 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
See private message.
$21,25 USD en 3 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de UNITED STATES
Ashburn, United States
5,0
18
Membre depuis mars 10, 2003

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.