Find Jobs
Hire Freelancers

Recursively Delete Folder And Files In C

$10-30 USD

In Progress
Posted about 5 years ago

$10-30 USD

Paid on delivery
Can you recursively delete folder and files in C w/o using a call to system()? This is my current code, but I'd like to execute it w/o a call to system() if possible. char* cmdPrefix = "rm -rf "; char * cmd; int len = (int)strlen("/localdir/"); cmd = malloc(len + 10); memset(cmd, 0, len + 10); sprintf(cmd, ("%s%s"), cmdPrefix, "//User//owner//Downloads//Test//"); system(cmd);
Project ID: 18763989

About the project

7 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
Awarded to:
User Avatar
Hi there, I’d like to be considered for your C Project. I’m a strategic developer and programmer with more than 5-year experience and a strong background in developing desktop software, Artificial Intelligence, Database, Reporting, Algorithms, User-Friendly User Interface's etc. I have done several projects. you can see my portfolio. I assure you i can do your task up to your expectations. Client satisfaction and quality product delivery are my priorities.i am willing to do work until your complete satisfaction with the delivered product. Also, I am open to other means of communication too. Do Hire Me. And I assure you that you will be happy to get your quality project within budget and time. I highly value professionalism and hold myself strictly accountable to represent my client’s project. I aim to form a long-term working relationship. if you are interested in a larger volume of each month, I can offer a lower rate. Please, let me know what is needed to secure this bid! Thank you for your consideration. Tech Magnetos
$15 USD in 1 day
4.7 (12 reviews)
3.6
3.6
7 freelancers are bidding on average $26 USD for this job
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.
$50 USD in 1 day
4.9 (175 reviews)
7.2
7.2
User Avatar
Yes, I can. Basically, you traverse the folder and delete every file. Then remove the directory itself.
$30 USD in 1 day
4.9 (394 reviews)
7.2
7.2
User Avatar
I assume you can use POSIX C here. Otherwise in windows RemoveDirectory winAPI. Somehow it’s possible to to what you have asked w/o using system().
$15 USD in 1 day
5.0 (1 review)
1.5
1.5
User Avatar
hello sir I have good experience in c and c++ under both windows and Linux I can do this project using visual studio codeblocks dev ... when I complete your project you can check and then you can accept my bid
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! Using system calls easy but not safe. It possible to do this without system calls. If you have any questions please contact me. Thanks!
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Athens, United States
0.0
0
Member since Feb 19, 2019

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.