Post Project
  • Search
    • Buyers can
    • Search offers to buy now
    • Search freelancers to request a proposal
    • Freelancers can
    • Search projects to quote on
  • How it works
  • Log in
  • Sign up
  • Freelancer?
Categories
    Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media
Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media

Write a function in C to merge text files

- or -

Post a project like this
304
$
  • Posted: 11 months ago
  • Proposals: 14
  • Remote
  • #2778017
  • OPPORTUNITY
  • Awarded
Andrew C.
Andrew C.
IT professional with over 25 years experience in a variety of technologies.
United Kingdom Leeds
Przemyslaw L.
Przemyslaw L.
Senior C++ Developer
Poland Kostrzyn nad Odra
Kashif H.
Kashif H.
Software & Systems Engineer
Pakistan Islamabad
Hasan M.
Hasan M.
Word Press Dev|Hybrid App Dev|Custom PHP Web dev|UI/UX design|Java App|Architectural Plans
Top Endorsed
Romania Bucharest
Vladimir B.
Vladimir B.
Developer
Philippines Bongao
Rajesh Kumar T.
Rajesh Kumar T.
Software Architect
India Chennai
Kishore S.
Kishore S.
Linux Developer (C, Python, Bash, awk, sed, systems and storage software)
India Bangalore
Armaghan A.
Armaghan A.
WordPress Expert/Woocommerce Expert/Data Scientist/Python Expert/Auto-CAD/3D/2D Animation/ White Board Animation
Top Endorsed
Pakistan Rawalpindi
Saleem A.
Saleem A.
Software Engineer (Android), .Net C#, C++, HTML, Bootstrap, CSS
Pakistan Lahore
Saddam G.
Saddam G.
Electronics Engineer
Top Endorsed
Pakistan Islamabad
Chaman L.
Chaman L.
Server Admin | Security Engineer | NW Admin
India Gurgaon
Kartik P.
Kartik P.
Expert Electronics Firmware Engineer
India Gondal
  • 1
  • 2
235048468451068796206294621115472619155283740831510053201715360672137384903823450
Andrew C.
Przemyslaw L.Kashif H.Hasan M.Vladimir B. + 9 others have already sent a proposal.
  • 3
  • 3

Description

Experience Level: Entry
Estimated project duration: 1 day or less
I have written a program in C that process lines from a text file. I would like to expand the program with a function that includes the text from referenced files and text from files referenced by the referenced files and writes the output to a new file. Where a file is referenced the calling line should be written to the output file and preceded with a %. I would like to write this but don’t have the time.

The function is to be written in C with emphasis on reliability, readability and future maintenance. The files can be large so speed is a consideration. Memory and disk space are not an issue but any memory used should be released before leaving the function

Checks are to be included to pick up any errors with the errors written to a text string that is passed back to the calling program. The referenced files are called with the command \vimport{path/file.txt}

My preference is to format the code GNU style with 3 character tab.

I use Linux so the path is formatted accordingly.

See the attached files for example input and output files. Due to the pph limits, three input files are combined into one file.

THE BUDGET HAS BEEN REMOVED
  •  
  •  
Tim H.
Tim H.
100% (7)
Projects Completed
7
Freelancers worked with
5
Projects awarded
73%
Last project
3 Aug 2020
United Kingdom

New Proposal

Login to your account and send a proposal now to get this project.

Log in

Clarification Board Ask a Question

  • 01 Apr 2020Cohesive Computing Ltd

    How deeply nested can the referenced files be, I.e. how many levels of nesting?

    Tim H.01 Apr 2020

    Ideally, the number of levels would be undefined, I had assumed that references to the open files would be stored on a stack. If you need a defined number then allow for 16 deep.

906996
304
$

- or -

Post a project like this
Tim H.
Tim H.
100% (7)
Projects Completed
7
Freelancers worked with
5
Projects awarded
73%
Last project
3 Aug 2020
United Kingdom

Related project Searches


linux

Product

  • About
  • Team
  • Careers
  • Blog

Support

  • How it works
  • Trust & Safety
  • Help Centre

Discover

  • Plus Works
  • Academy

Resources

  • Customer Stories
  • Business Cost Calculator
  • Startup Cities

Browse

  • Freelance Services
  • Freelance Services By Country
  • Freelance Skills
  • Terms
  • Privacy
  • © 2021 People Per Hour Ltd
We use cookies to improve your experience and our services. By using PeoplePerHour, you agree to ourCookie Policy