Find Jobs
Hire Freelancers

project c

$30-40 USD

Completed
Posted over 20 years ago

$30-40 USD

Paid on delivery
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
Project ID: 3012435

About the project

7 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$15 USD in 3 days
4.9 (195 reviews)
5.7
5.7
7 freelancers are bidding on average $24 USD for this job
User Avatar
See private message.
$23.80 USD in 3 days
5.0 (52 reviews)
4.9
4.9
User Avatar
See private message.
$28.90 USD in 3 days
5.0 (20 reviews)
4.3
4.3
User Avatar
See private message.
$34 USD in 3 days
5.0 (14 reviews)
2.2
2.2
User Avatar
See private message.
$17 USD in 3 days
5.0 (5 reviews)
1.8
1.8
User Avatar
See private message.
$29.75 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$21.25 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Ashburn, United States
5.0
18
Member since Mar 10, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.