Find Jobs
Hire Freelancers

C Programming

$30-250 CAD

In Progress
Posted over 4 years ago

$30-250 CAD

Paid on delivery
I need to implement a simple object manager. An object manager is another form of table, but we now store generic objects in a managed buffer (the internal implementation of a table varies based on need). Using a buffer means that we must directly manage the memory and references to objects. This means that our object manager must implement reference counting and a garbage collector, so that we properly handle creation and deletion of objects. The object manager's interface is given by the file ObjectManager.h and the implementation will be in the file ObjectManager.c. Your task is to implement the functions required for the object manager. This includes all the functions listed in ObjectManager.h, along with any (private) static functions that will be useful. You will also need to define appropriate data types and data structures for keeping track of the objects that have been allocated. You are NOT allow to change the prototypes of the functions that are provided to you in ObjectManager.h. To summarize, the functionalities you have to implement are: • initPool() - Initialize the object manager upon starting. • destroyPool() - Clean up the object manager upon quitting. • insertObject(size) - request a block of memory of given size from the object manager. • retrieveObject(id) - retrieve the address of an object, identified by the reference id. • addReference(id) - increment reference count for the object with reference id. • dropReference(id) - decrement reference count for the object with reference id. • compact() - initiate garbage collection (see below). • dumpPool() - print (to stdout) info about each object that is currently allocated including its id, start address, size and reference count.
Project ID: 20376230

About the project

10 proposals
Remote project
Active 5 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
10 freelancers are bidding on average $170 CAD for this job
User Avatar
Hi, Dear Employer! I am really interested in your project. I have enough experience in Python, C/C++, C#, java programming. I am 100% sure I can satisfy your requirements perfectly. User-Friendly Interface And Clear Algorithm Will Encourage Your Project. I want a long-term relationship with you. Thank you and best regards!
$140 CAD in 7 days
4.9 (62 reviews)
7.1
7.1
User Avatar
Hi, I'm an expert in C programming. I'm sure that I can easily do this project for you. We can have a chat about it. Thanks.
$250 CAD in 5 days
4.9 (359 reviews)
7.3
7.3
User Avatar
Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the project. Thanks
$180 CAD in 2 days
5.0 (35 reviews)
6.7
6.7
User Avatar
Hi there, please leave a message on my chat so we can discuss the budget and deadline of the project. I have read your project description and i'm confident i can do this project for you perfectly. Thanks
$140 CAD in 7 days
5.0 (22 reviews)
6.4
6.4
User Avatar
Nice to meet you. Very very interested in your project. Fast speed, Best quality, Delivering on time is my business style. We have powerful skills and experiences of C/C++/C#/QT Desktop Application, PYTHON Script. Thanks. From your best friend
$150 CAD in 3 days
4.9 (41 reviews)
5.3
5.3
User Avatar
Hello, Sir. I have sufficient experience and skill in C/C++ programming. I can satisfy your project in time. I believe you will select me. Thank you.~_~
$100 CAD in 7 days
4.7 (49 reviews)
5.6
5.6
User Avatar
hi there i have read the description i can help you with this assignment. let me know about the deadline of this project.
$250 CAD in 4 days
5.0 (2 reviews)
1.9
1.9
User Avatar
I hold a degree in Computer Engineering. I minored in Programming with a focus in c,c++, assembly. Whether independent or operating on a team my analytical approach to problem solving has been a plus. I believe my level of talent and work ethic would be a boon to any Kiwi project that required an developer. I would appreciate a chance to sit down for an interview and show you why I am the best candidate.i have experience of 2+ years in assembly language, assembler, c programming, c++ programming, c# programming Kindly reply me soon so we can discuss more about this. Thank you
$90 CAD in 4 days
5.0 (1 review)
1.4
1.4
User Avatar
Hi,dear. I am a senior software developer. I am very familiar with c/c++/c#. I have just checked your project description & attached files, I am able to complete this project. I am looking forward to your response. Thanks.
$200 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi there, I am expert programmer skilled and experienced in C and C++. I understand your project requirements and will be able to deliver the work as immediate as possible. Please message me to discuss more.
$200 CAD in 1 day
0.0 (1 review)
0.0
0.0

About the client

Flag of CANADA
Winnipeg, Canada
5.0
5
Payment method verified
Member since May 20, 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.