How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
VB Project
By Michael Sharp on Jul 11
Max Bid: $50


Color code text display in VB6 app
By Burt on Jul 11
Max Bid: $50


Get the screen
By Coderking on Jul 10
Max Bid: Open to fair suggestions


Emoticon icons needed
By wbunker on Jul 10
Max Bid: $100


Redevelop Adult Membership System Site
By HardWerX Technologies on Jul 10
Max Bid: $110


ASP Based wizard driven import module for importin ...
By Jakir on Jul 10
Max Bid: $125


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(145 open)
   Access 
(55 open)
   MySQL 
(85 open)
   Oracle 
(9 open)
   SQL Server 
(50 open)
   Other DB 
(17 open)
Documentation / Tech Writing 
(16 open)
Data Entry 
(22 open)
Game Development 
(26 open)
Graphics / Art / Music 
(48 open)
   Graphics 
(58 open)
     Adobe AfterEffects 
(1 open)
     Adobe Photoshop 
(17 open)
     Adobe Premiere 
(3 open)
     3d Animation 
(13 open)
   Art (Misc.) 
(20 open)
   Music 
(11 open)
   3d Modeling 
(14 open)
Language Specific 
(96 open)
   ASP 
(57 open)
   ASP .NET 
(34 open)
   C# 
(40 open)
   C++ / C 
(108 open)
   Carbon (Mac OS) 
(2 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(13 open)
   Delphi 
(25 open)
   Java 
(59 open)
   JSP 
(7 open)
   Perl 
(39 open)
   PHP 
(88 open)
   XML/XSL 
(31 open)
   Visual Basic 
(138 open)
   Visual Basic .Net 
(51 open)
   Other 
(54 open)
Misc 
(30 open)
   CAD 
(3 open)
MultiMedia 
(37 open)
   Video Editing 
(4 open)
Network 
(43 open)
   Network Design 
(12 open)
   Network Implementation 
(13 open)
Platforms 
(75 open)
   Windows 
(166 open)
     MS Exchange 
(6 open)
     MS Office 
(12 open)
     Other 
(15 open)
   Darwin 
(1 open)
   Internet Browser 
(40 open)
   Linux 
(62 open)
   UNIX 
(28 open)
   Hand Held/PDA Programming 
(9 open)
Requirements 
(14 open)
Security 
(28 open)
Testing / Quality Assurance 
(18 open)
Web 
(152 open)
   Page Design 
(83 open)
   Flash 
(39 open)
   Web Services 
(73 open)
   Web (Other) 
(75 open)
Training 
(12 open)
   Computer Based 
(11 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Debug C Program
Bid Request Id: 58974
Bookmark in my 'To Do' list
Posted by: SimuGD (14 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Buyer Security Verifications: Good
Approved on: Apr 21, 2003
8:47:51 PM EDT
Bidding Closes: Apr 23, 2003 EDT
Viewed (by coders): 83 times
Deadline: 4/25/2003
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C
Enter chat room for this bid request
(0 active users at Jul 11, 2003 3:56:42 AM EDT)

Description:
The following program seems to work for many people but it isn't working on the unix system I am using. I am not sure what to do. I am up for suggestions.

The following is my assignment which has been done but not working. Please take a look at it and check for errors. Thanks
This program will accept command line arguments and test to see that they meet certain specifications. If the command line arguments are invalid, specific messages should be displayed and the program should end execution. If the command line arguments are valid, the program should display the contents of the file specified by the last command line argument. If there are only 2 command line arguments the second one should be interpreted as being the name of the file to be read and displayed. If there are 3 command line arguments the third one should be interpreted as being the name of the file to be read and the second one (if valid) should specify the format of how the file should be displayed.
Your program should check to see that the user types at least 2 and no more than three command line arguments. (The first one will be the name of the executable program a.out and you do not need to check that.)
If the number of command line arguments is incorrect the program should display a message saying that the command line has too many (or too few) argument and end execution.
If there are exactly 2 command line arguments, the program should check to see if the second one is the name of a readable file. If it is a readable file, then the program should display the file. If it is not a readable file, then the program should display a message saying that the file cannot be read, display the second command line argument and end execution..
If there are exactly 3 command line arguments, then the program should check to see that the second one is a minus sign followed by zero or more of the following uppercase letters: C, R, U, L.


Deliverables:
If the second command line argument is not in the correct form, the program should indicate what is wrong (i.e. "Second command line argument should begin with -" or "Invalid option specified in the second command line argument.") and execution should end. If the second command line argument is in the correct form, then the program should check to see that the third command line argument is the name of a readable file. If it is not a readable file, then the program should display a message saying the file cannot be read, display the third command line argument and then end execution. If the second command line argument is in the correct form and the third command line argument is the name of a readable file, the file should be read and displayed in the form indicated by the second command line argument. (See next paragraph)
When there are three command line arguments, the codes given in the second command line argument indicate the form in which the file is to be displayed.

• L indicates the letters in the file should be displayed in lowercase. (Characters which are not letters should be displayed with no change.)
• U indicates the letters in the file should be displayed in uppercase. (Characters which are not letters should be displayed with no change.)
• C indicates the lines of the file should be centered on the screen when they are displayed. YOU SHOULD ASSUME THAT NO LINE WILL BE MORE THAN 70 CHARACTERS LONG AND THAT THE SCREEN WIDTH IS 70 CHARACTERS.
• R indicates the lines of the file should be right justified on the screen when they are displayed. YOU SHOULD ASSUME THAT NO LINE WILL BE MORE THAN 70 CHARACTERS LONG AND THAT THE SCREEN WIDTH IS 70 CHARACTERS.
If neither C or R is indicated, the program should assume the lines in the file are displayed beginning in column 1 on the screen. If neither L or U is indicated, the program should assume that no changes should be made to the case of letters in the file before displaying them. In the event that the second command line argument contains conflicting codes, the later one(s) encountered should override earlier ones. For example: -LRUC should indicate uppercase and centered.
You may assume that the first character in each line is a nonwhitespace character and that the last character in each line is a newline character preceded by a nonwhitespace character. You simply need to read a line as a string and display that string left-justfified, right-justified or centered and, if U or L are specified, in the correct case. You will want to use the strlen function to determine how to center the line. The toupper and tolower functions may be used to convert a letter to upper or lower case. Those functions are designed to a single character and NOT FOR A STRING OF CHARACTERS. (Hint: You can use a for loop to convert each character in the line.)







Platform:
I am using Unix
Although I am given a latter deliver data, I really need it as soon as possible.

Must be 100% finished and received by buyer on:
Apr 25, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.



Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
mulgar
(5 ratings)
in Windsor Downs, NSW
Australia
Bid id: 635,430
 
$6 (USD) Apr 21, 2003
10:15:38 PM EDT
 9.8
(Excellent)
   
A bid from mulgar for $6 (USD)...
Greetings SimuGD ,

I have downloaded the source code and looked through the assignment a bit as well to familiarize myself with it. I would be happy to help you find your problem. If you accept my bid I will help you fix the problem you are stuck on, and any other problems that may come up (basically I will help you until it is all working fine). Also I am very available at the moment so should be able to sort it out quickly for you.

Please just ask if you have any questions for me. Look forward to hearing from you.

Regards,

Michael Green

Summary of some points regarding myself and this project:
  • I have a computer science degree and over 3 years c/c++ experience.
  • I will reply to your bid very promptly.
  • I will continue to help you until the assignment is working perfectly to specifications.
  • I am happy to accept comments or suggestions after you have accepted my work if you run into other small problems later.
Communication, professionalism and quality.
 
 
 
 
  See 8 private reply(ies)
to/from mulgar.
 




Quick Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.98 on 101 jobs 
Securenext
Rated a 9.96 on 109 jobs 
Buddies
Rated a 9.82 on 80 jobs 
Andrei Remenchuk
Rated a 10 on 13 jobs 
Codman
Rated a 9.97 on 149 jobs 
Michael Sharp
Rated a 9.97 on 181 jobs 
D-N-S
Rated a 9.93 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Tometa Software, Inc.
Rated a 10 on 10 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.