Find Jobs
Hire Freelancers

c code to be modified for reading 2 files and outputting to another

$10-30 USD

Completed
Posted over 8 years ago

$10-30 USD

Paid on delivery
the code below to be modified to read from 2 files instead of one and writing each byte code to another file. You will need to look at the syntax of the fopen()system call to open a file for writing. Do man fopen to do this. modify the body of the while loop in the program so that the character is no longer put to standard output ( stdout). You will need to put itto the destination file instead #include <stdio.h> #include <stdlib.h> int main() { char c; FILE *from; from = fopen("[login to view URL]", "r"); if (from == NULL) { perror("[login to view URL]"); exit(1); } /* file exists, so start reading */ while ((c = getc(from)) != EOF) putc(c, stdout); fclose(from); exit(0); }
Project ID: 8596817

About the project

29 proposals
Remote project
Active 9 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
Hello. This is a simple modification that I can take care of in minutes. I am a senior software engineer that has been developing applications for over 10 years, I can add this functionality for you. Thanks and I look forward to working with you.
$15 USD in 1 day
4.8 (1 review)
0.4
0.4
29 freelancers are bidding on average $21 USD for this job
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
5.0 (32 reviews)
5.2
5.2
User Avatar
Hello, I have 30 years experience programming in C. I will modify that code to open 2 files and output to another file (not stdout). Question: Should the files be read in series or interleaved? A milestone payment for the full budget for this project must be deposited with this site before your offer can be accepted. Alan Idler Chief Software Architect Idleswell Software Creations
$23 USD in 3 days
4.8 (65 reviews)
5.1
5.1
User Avatar
A proposal has not yet been provided
$15 USD in 1 day
5.0 (14 reviews)
4.6
4.6
User Avatar
i can help u .............................................................................................................................................................................
$15 USD in 1 day
5.0 (12 reviews)
3.6
3.6
User Avatar
Hello, I can do this task quickly, will need ca. 30 minutes. The only question is: how should be the data combined in the output from both input files - the first complete, than the second, or some kind of bytewise mixing ? Best regards, Viktor.
$30 USD in 0 day
4.4 (1 review)
3.4
3.4
User Avatar
Hello mate, I can quickly do this problem. I have a BSc in Electronic and Computer Engineering. I have been working with C language for more than 5 years now. I will do a really good job within a very short time. Even after the job I will keep in contact with you to help you. let me know if you want my assistance! cheers!
$15 USD in 0 day
5.0 (3 reviews)
3.1
3.1
User Avatar
Hello Sir, We are a group of students and designers on IT Services from Serbia and we would like to cooperate with You on your project. We have done a lot of projects like this for our Faculty and it is not something that is strange to us. You can see in my portfolio examples of our job in Java, and if You are interesting, I can send You full project code. We do our project codes in pure editor in Linux. We do our project fast and reliable, so, we can finish it under one week. We offered a lower price because we are new on this site, so we would like one good review more than money. If you are interesting, contact us and give us more information about the project. Wish best, LostaNK
$20 USD in 1 day
5.0 (5 reviews)
2.7
2.7
User Avatar
Hello. I am experienced programmer and this is rather easy task. I can complete it and provide you the source code and explanation if needed immediately after you hire me. Thank you.
$10 USD in 0 day
5.0 (4 reviews)
2.1
2.1
User Avatar
Hello. How are u. Already I have done it. please contact me. i'll send u result soon. It's easy for me. I wait your reply. wait good news.
$15 USD in 0 day
5.0 (1 review)
1.4
1.4
User Avatar
A proposal has not yet been provided
$30 USD in 1 day
5.0 (2 reviews)
1.4
1.4
User Avatar
A proposal has not yet been provided
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, your task seems simply, can do it right now. P.S. I'm newer for freelancer.com, but I have account with feedbacks and completed jobs on upwork.com.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a fresh in industry and working in Systems Limited as a software Engineer. I am very much familiar with C programming and hand on experience in it.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have been writing C programs for more than 5 years. This is a fairly easy program for me. I can do this within one hour, for $15-20. Let me know if you're interested.
$20 USD in 1 day
5.0 (1 review)
0.0
0.0
User Avatar
Working on Software development since 2000. Basic task even for C intermediate developer. Greetings
$13 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Greetings from Donegal, I teach C++ and have a long history of C too. (Am an engineer from the U.K). Do u need help with this?? Thanks Mai
$25 USD in 1 day
0.0 (1 review)
0.0
0.0
User Avatar
Hi ! I'm Stephane, from Paris, in France. I propose not only to add the necessary code, but also : - full documentation - command line argument to ad at least one option (for example what to do if the destination file already exists). - add #ifdef statement so you can have an optimize version of the code (some statements are unnecessary and take time). Best regards, Stéphane
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Three years of experience in touchscreen and sensor interfacing to custom hardware in embedded linux,Ubuntu filesystem on samsung exynos ,omap processor and qualcomm snapdragonprocessors along with embedded Android environment in, jellybean and and Android M. Extensive experience in porting linux and android os on processors.
$20 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have more than 3 years of the experience in the industrial embedded C code writing and more than of 5 years of general C code writing. I have completed/supported more than 5 automobile projects in past 3 years. I can write this piece of code with full compatibility. The methodology to write this code is simple: - Open the both files in byte mode by using C language's file stream reader. - Copy the content of the files into a temporary buffer. - Paste the content of the buffer into the desired file. The buffer size is dependent of the memory requirement of the system and the speed of the program required. This point can be discussed further according to the application.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of IRELAND
limerick, Ireland
5.0
10
Payment method verified
Member since Oct 2, 2015

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.