Find Jobs
Hire Freelancers

Write Software in c++

$30-250 USD

In Progress
Posted about 7 years ago

$30-250 USD

Paid on delivery
Write a class to manage a large chunk of allocated memory (for example, 10-20MB), using RAII concepts. The class will contain the following: - An unique instance ID for each instance. Use a static which you increment for every new instance. - An owned buffer, private, assuming char*. This is our RAII payload. - Logging capability: log (to cout or cerr) the instance ID and the message. Each function of the class shall be logged. Have a logging function accepting one std::string. - Allocate / deallocate the owned buffer (private methods). Log this action as well as the address of the buffer. - Copy/move constructors. They shall not copy the instance ID, as we keep this for logging. New instance IDs shall be assigned for new instances. Existing instances keep their instance ID until destroyed. - Constructors: Blank (no allocation) and with size (performs allocation). - Destructor: perform deallocation if needed. - Assignment operator between classes Demonstrate the usage of the class: - During “regular” instantiation within a function. - When the instances are added to a vector. - When a vector of instances is being copied. - When the instance is returned by a function (two cases, one for move constructor, other for move assignment). Inspect (manually) the log so that you make sure the program calls an equal number of constructors and destructors. Assure that for each allocation there is exactly one de-allocation.
Project ID: 13597912

About the project

13 proposals
Remote project
Active 7 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
13 freelancers are bidding on average $152 USD for this job
User Avatar
Hello I'm interesting your project very well I'm a Good C++, Java, Math, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
$150 USD in 3 days
4.9 (699 reviews)
8.9
8.9
User Avatar
Hello, I am expert with c and c++ since more than 20 years ago ... I should be a good option for this project. PLease give me more details. Best regards!
$155 USD in 5 days
5.0 (176 reviews)
7.5
7.5
User Avatar
!!!! Hello !! How are you? I've a great interesting in your project as a C++ programming expert who have been specializing in this field for over 10 years. As you can check from my portfolio and previous project reviews, I'm not only good at C but also at Mobile app Development. I feel confident that can fulfill your requirements. Please contact me so that I can discuss with you on the project more in detail. Thanks and Regards,
$155 USD in 3 days
4.8 (70 reviews)
7.2
7.2
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$150 USD in 3 days
4.9 (161 reviews)
7.2
7.2
User Avatar
Hello. How are you today. I have read and understood the project. I have strong knowledge in Data structures and Algorithms. And I'm expert in Java ,C/C++,C#, Python ,PHP etc. I'm interested this project. So, firstly I want to discuss with you about this project. Then I'll be happy. I wait for your good reply. Thanks.
$120 USD in 2 days
4.9 (176 reviews)
6.6
6.6
User Avatar
HI, I offer advanced C++ solutions to large corporations. What you are looking to achieve in this task is commonly achieved in well-known technologies such as: a) Microsoft COM and ATL (smart pointers) b) programming languages that support automatic garbage collection etc. If you want , I can help you with it. If interested,do contact me FIRST.
$135 USD in 1 day
5.0 (43 reviews)
6.5
6.5
User Avatar
FREELANCER RECOMMENDED ------------------------------------------------------ Can help... I am an Expert... Lets Start! Please start a Discussion with me and we can get started from there... Please check the past projects I have handled and check my reviews for what employers have to say about my work... Can start right now...
$155 USD in 3 days
5.0 (27 reviews)
6.2
6.2
User Avatar
Hi, I am a serious developer who aims to provide high quality services. If you contact me, we can discuss more things detail and will be achieved with each other's purpose. Good luck for your business…
$155 USD in 3 days
4.9 (16 reviews)
4.6
4.6
User Avatar
Dear Prospective Client, As based on my initial review I can confirm its feasibility & as I am great fit technically and have good understanding of the domain & your requirement & would submit a detailed response soon. After completing discussion with you, I will provide live prototypes, SRS, FRS and Designs. Meanwhile I would really appreciate it if you can initiate the PERSONAL MESSAGE BOARD so that we can connect with each other. Thanks
$155 USD in 3 days
4.5 (6 reviews)
4.5
4.5
User Avatar
Have industrial and large scale C and C++ experience and also have done something similar in the past.
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! Though I am relatively new to freelancing, I am definitely experienced in C++, with over 5 years of experience. I would be more than willing to assist you with your project! In fact, I have already started working on a solution. PM me for more information. Edit: I have come up with a rough working sample. Here is a snippet demonstrating some of the functionality you mentioned in the job description: This main function (and the class I defined): int main(){ Handle a; Handle b(100); vector<Handle> v; v.push_back(a); v.push_back(b); } Generate this output: [HANDLE 0]Creating Handle [HANDLE 1]Creating Handle [HANDLE 1]Allocated 100 bytes at address 0x20a39a0 [HANDLE 2]Creating Handle [HANDLE 3]Creating Handle [HANDLE 3]Allocated 100 bytes at address 0x8025a0 [HANDLE 4]Creating Handle [HANDLE 2]Destroying handle [HANDLE 4]Destroying handle [HANDLE 3]Destroying handle [HANDLE 3]Deallocated buffer at address 0x8025a0 [HANDLE 1]Destroying handle [HANDLE 1]Deallocated buffer at address 0x20a39a0 [HANDLE 0]Destroying handle This, of course, a rough version that only demonstrates some of the functionality you requested. Feel free to PM me, or accept my bid for further details ;)
$155 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$177 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have over 16 years of development experience in C++ development on Windows platform. I have worked in the distributed architecture, MFC, COM/DCOM, services and WinSock. Please let me know the requirement in details, I shall deliver your project in given timelines and budget.
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
warrn, United States
4.8
42
Payment method verified
Member since Mar 21, 2017

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.