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.
pos with VB and Access
By sang_rhee on Jul 11
Max Bid: $500


component for changing partition
By delphiheaven on Jul 12
Max Bid: Open to fair suggestions


WebQuiz
By DigitalBuyer on Jul 12
Max Bid: Open to fair suggestions


Simple 1-Page Website Redesign
By BuffaloRoam on Jul 11
Max Bid: Open to fair suggestions


web server Script to launch external program
By gulyasa on Jul 11
Max Bid: $20


New Site Design to Appeal to the Masses!
By sistervisiontec h on Jul 11
Max Bid: $100


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

Open Work Categories.
Database 
(144 open)
   Access 
(56 open)
   MySQL 
(79 open)
   Oracle 
(10 open)
   SQL Server 
(48 open)
   Other DB 
(19 open)
Documentation / Tech Writing 
(15 open)
Data Entry 
(21 open)
Game Development 
(26 open)
Graphics / Art / Music 
(53 open)
   Graphics 
(60 open)
     Adobe AfterEffects 
(1 open)
     Adobe Photoshop 
(18 open)
     Adobe Premiere 
(4 open)
     3d Animation 
(15 open)
   Art (Misc.) 
(19 open)
   Music 
(11 open)
   3d Modeling 
(12 open)
Language Specific 
(92 open)
   ASP 
(59 open)
   ASP .NET 
(38 open)
   C# 
(38 open)
   C++ / C 
(108 open)
   Carbon (Mac OS) 
(1 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(13 open)
   Delphi 
(26 open)
   Java 
(61 open)
   JSP 
(7 open)
   Perl 
(42 open)
   PHP 
(86 open)
   XML/XSL 
(30 open)
   Visual Basic 
(145 open)
   Visual Basic .Net 
(58 open)
   Other 
(52 open)
Misc 
(27 open)
   CAD 
(3 open)
MultiMedia 
(41 open)
   Video Editing 
(6 open)
Network 
(41 open)
   Network Design 
(12 open)
   Network Implementation 
(12 open)
Platforms 
(73 open)
   Windows 
(171 open)
     MS Exchange 
(5 open)
     MS Office 
(14 open)
     Other 
(14 open)
   Darwin 
(1 open)
   Internet Browser 
(43 open)
   Linux 
(56 open)
   UNIX 
(26 open)
   Hand Held/PDA Programming 
(9 open)
Requirements 
(12 open)
Security 
(29 open)
Testing / Quality Assurance 
(17 open)
Web 
(148 open)
   Page Design 
(81 open)
   Flash 
(45 open)
   Web Services 
(70 open)
   Web (Other) 
(68 open)
Training 
(10 open)
   Computer Based 
(10 open)
Other
 
Other Sites

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

template classe
Bid Request Id: 30393
Bookmark in my 'To Do' list
Posted by: amerelkhatib (4 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Buyer Security Verifications: Good
Approved on: Oct 9, 2002
2:25:28 AM EDT
Bidding Closes: Oct 10, 2002
6:00:00 AM EDT
Viewed (by coders): 76 times
Deadline: 10/10/2002 10:00:00 AM
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 12, 2003 9:33:39 AM EDT)

Description:
we examine the use of template classes and exception handling. The starter program exercises a template class called bc_array which throws several exceptions. The code prompts the user for a size of a dynamic array and then asks for elements to be entered. The array size must be larger than 0, but since it is stored in an integer any number, including 0 or negative values, could be entered. We have used various techniques to deal with invalid values passed into constructors, such as using the assert statement to terminate the program when illegal input occurs, or prompting the user repeatedly until a valid input value is received. Neither of these approaches are satisfactory, because they force the programmer using the class to adopt a specific approach to dealing with the error.

If you compare the execution of a program with the operation of a business, you will notice that both consist of a hierarchy of classes and functions. In a business, we expect the upper layers of the company (managers) to set policy and the people in lower positions (workers) to implement the policy. We want the same type of behavior in our programs, but our usual approach to handling errors leads to an inversion of authority -- the bottom layer (implemention of the class) is making decisions for the top-layer (user&'s application program). A better approach to managing this problem is to use an exception handler that passes control back to a top-level function when an error occurs so the user can make the decision to terminate the program or run code to handle or correct the problem.

Your task is to make a project and build a program using the three files of the starter code, then exercise it with different inputs and trace it (using the debugger) to get an understanding of how the flow-of-control changes when exception handling is used, particularly the try and catch blocks, and see what changes occur when the code is modified. Record the results of each exercise on the attached sheet and turn it in to the Teaching Assistant.

Exercise 1. Start the debugger and set a breakpoint on the first line of the bc_array constructor. Press F5 and when prompted, input a size of 15. When the breakpoint stops execution, use F10 to step through the constructor code line-by-line. After the constructor finishes, press F5. Enter short strings to store in the object. Write down the output.






Exercise 2. Restart the debugger and run the program as before.

Deliverables:
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) Complete ownership and distribution copyrights to all work purchased.



Platform:
windows, internet explorer

Must be 100% finished and received by buyer on:
Oct 10, 2002 10:00:00 AM 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.


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  
Alex K
(60 ratings)
in N-Novgorod, N-Novgorod
Russian Federation
Bid id: 339,100
 
$13 (USD) Oct 9, 2002
3:52:29 AM EDT
 9.83
(Excellent)
   
It's Alex.
We've already discussed it.
 

This bid was accepted by the buyer!
Alex K
(60 ratings)
in N-Novgorod, N-Novgorod
Russian Federation
Bid id: 339,101
 
$13 (USD) Oct 9, 2002
3:52:30 AM EDT
 9.83
(Excellent)
   
It's Alex.
We've already discussed it.
 




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.97 on 102 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.