Show Bid Request
Manipulation of string variables
Bid Request Id: 3722
|
Bookmark
|
Posted by: |
DannyO (5 ratings)
(Software buyer rating 10)
|
Posted: |
10/15/2001 8:07:42 PM EST
|
Bidding Closes: |
10/20/2001 8:10:02 PM EST
|
Viewed: |
313 times
|
|
|
|
Description:
I need this project completed concerning C++ used in UNIX academacs. A simple program involing 2 strings and allocation of memory using MALLOC. The project description is as follows:
Write a C program to demonstrate manipulating string variables.
This will demonstrate using strings and allocating dynamic memory at runtime in addition to static variables at compile time.
NOTE: Do not use any screen clear or other cursor manipulation calls in your code. Do no prompt the user or read any input from the keyboard.
Given:
Two declared string variables capable of holding at least 40 chars. A declared char pointer.
Perform the following:
1) Initialize two strings with the following (but not when you declare them):
1st -> "ABCDEF123456GHI789" 2nd -> "ThisIsMySpecialString"
2) Use malloc to allocate enough space for the char pointer to hold the 1st and 2nd string contents combined.
3) Combine the first two strings into the newly created string pointer memory producing one long string.
4) Display the length of all 3 strings along with their contents. Be sure to return your dynamic memory to the heap.
5) Clearly comment your code! Failure to comment will result in lost points!
This project should be called d4.c and submitted by midnight 10/19/2000.
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Special Conditions / Other:
The sooner the project is completed befor 10/20/01 the better.
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, you can report it to: abuse@rentacoder.com.
|
|
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!
|
$15
|
10/15/2001 9:25:57 PM EST
|
9.59
(Excellent)
|
|
|
hi...i can do this easily for u...i have helped many people before which u can see in my profile..........i will fully explain the code to u and comment it very well so that u can understand it clearly....i will help u with the code unless u r fully satisfied........if u think the bid is too high please email me privately....looking forward to work with u.....thx
|
|
|
|
| |
|
|
N/A
|
10/15/2001 9:58:40 PM EST
|
9.59
(Excellent)
|
|
|
hi...ur code is almost ready....please let me know if u think the bid is too high...looking forward for ur email...thx
|
|
|
|
| |
|
|
N/A
|
10/16/2001 2:47:45 AM EST
|
9.59
(Excellent)
|
|
|
hi..ur code is ready...its working great in VC++ as well as in UNIX...if u think the bid is too high just email me...i am sending u the exe file....looking forward for ur email.
|
|
|
Attached File
|
|
|
|
|
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 it's parent company, Exhedra Solutions, Inc.
|
|
|
See all top coders...
What makes a top coder?
Created in partnership with:
|
|
In memory of the victims and the courageous rescuers of 9/11/2001
|
|
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) and "Safe Project Escrow" is a trademark of Exhedra Solutions, Inc.
|