Find Jobs
Hire Freelancers

C++ coding

$15-25 USD / hour

Cancelled
Posted over 3 years ago

$15-25 USD / hour

Your program will do the following: Preliminaries Open the file named "[login to view URL]" for reading. Open the file named "[login to view URL]" for writing. For instance, my test implementation will open cop3223-as3output-gerber-matthew.txt. Input From the input file, read: A title line of text Two ordered pairs (x1, y1) and (x2, y2) of floating-point numbers. Each pair will be on one line, separated by a comma. An integer count n. A set of n floating-point numbers, one per line. n will be less than 50. Computation Treat two ordered pairs as points, and compute the slope and intercept of the line they lie on. Compute the y coordinate of the line for x coordinates 0.0, 1.0, 2.0, ..., 10.0, and store the result in an array. Compute the y coordinate of the line for x coordinates 0.0, -1.0, -2.0, ..., -10.0, and store the result in an array. Compute the y coordinate of the line for x coordinates 0.0, 1.0, 10.0, ..., 1000000.0, and store the result in an array. Compute the y coordinate of the line for x coordinates 1.0, 0.1, 0.01, ..., 0.00001, and store the result in an array. Treat the number set read from the file as an array of x coordinates. Compute the y coordinate of the line for each x coordinate, and store the result in an array. Output To the output file, write: The title. The original ordered pairs, and the slope and intercept computed from them. All five sets of results, with a descriptive line before each. Include the x coordinate and the computed y result. Line up the x and y coordinates on their decimal points. The Catch You can only have one function to compute a set of y coordinates, and you can only have one function to output a set of computed results. This means you'll need to use arrays to store the coordinates, use pointers to pass the coordinates, and use array-length variables to tell the functions how many you have. Be careful! Attacking the Problem Don't try to attack this entire program all at once. You'll fail. You need to apply the divide-and-conquer approach to problem-solving. In this case, that means: Deal with opening and reading the input file. After that, use ordinary printf()'s with ordinary for loops to convince yourself that you've captured all the input from the file. Deal with the calculations. Write them one at a time. Use ordinary printf()s with ordinary for loops to test each one, making sure that you're getting the results correct. Deal with opening and writing to the output file. You don't quite have everything you need yet (can you identify the parts you don't?) but you can already get started. Your code must compile without errors or warnings, and run with any reasonable inputs. You must follow all coding conventions that we've established. Submit only the .c file here.
Project ID: 28010267

About the project

14 proposals
Remote project
Active 4 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
14 freelancers are bidding on average $18 USD/hour for this job
User Avatar
I am very proficient in c/c++. I have 17 years c/c++ developing experience now, and have worked for more than 10 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 files into c++ scripts, of course garbage collection included, this job 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 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. Besides, I am very proficient in java also, hope I can help you.
$15 USD in 6 days
4.9 (202 reviews)
7.3
7.3
User Avatar
We will do your c++ work I am writing this proposal in order to work for you in Software and Web Development. We are highly trained professional developers seeking to freelance and earn online. Having a flair in programming and development I have been excellent with JAVA,C#,C/C++ and PHP programming language along with MySQL with XAMPP Server. I also build application for Cloud computing and High performance computing as I also have knowledge regarding Hadoop, MPI, OpenMP (distributed frameworks) and also have build applications in CUDA C++ and OpenCL. I also have experience with the most famous framework ASP.NET. My most expertise are in JAVA where I have built countless projects for semester projects and Final year project. You may find many developers in this field however we assure that you will not be able to find a team like us. We not only ensure the code is quality wise but we also assure that the code we write are optimised and we ensure that the program performs right operation under right environment i.e. we create programs that are defect free. You may also find freelancers that cost low but they do not put their 100% which then shows in the software and leads to an unhappy customer. We ensure reasonable price are put as tag on the job and we ensure in order to give the write product.
$20 USD in 40 days
4.9 (32 reviews)
5.2
5.2
User Avatar
Hi I have been developing software on embedded systems and desktop applications with 10+ years of experience in C/C++. We can talk more on chat. Best regards.
$20 USD in 40 days
5.0 (28 reviews)
5.3
5.3
User Avatar
Hi. I have read your proposal. I have good experience with C/C++ programming and performed many projects. Please hire me. Regards, Fabian
$20 USD in 40 days
4.8 (13 reviews)
4.5
4.5
User Avatar
Hello I am highly experienced in Java/Python/VB.NET/C/C++/C# and related Technologies, OOP, Data Structures, functional and procedural programming, Database Driven applications, APIs, Files and Data Transformation, ETL and various frameworks. Send details to get started. Rest assured you will have quality solution based on your project requirements. Thanks @CodingHelpLine
$20 USD in 40 days
4.9 (25 reviews)
3.7
3.7
User Avatar
I have 14 years of experience in C, 6+ years of experience in C++. I have worked on many problems on optimization, algorithms and datastructure. You can chat with me to know me more. I would implement your project in an hour.
$15 USD in 20 days
5.0 (5 reviews)
3.2
3.2
User Avatar
Hello. I got a good understanding of your problem, your project has 2 parts: -succesfully accpeting the input -taking it piece by piece, with the coresponding data structures and limited at only 2 functions: that's catchy but not impossible, in the end the code will look tidy and clean - I have a question: what about that line you want to compute against? From my mathematical knowledge I think is a function that may be given or calculated using your x1,y1 and x2,y2. I will program the algorithm in C, well commented and I will keep you in touch with screenshots and updates. Thank for your time! George
$23 USD in 40 days
5.0 (5 reviews)
2.4
2.4
User Avatar
Hi there, I am able to help you complete this task. Please let me know if you want to know more about my profile or have any question and we can sync on the chat. I am also a native Spanish speaker in case that helps. Regards, Leonardo.
$17 USD in 5 days
5.0 (1 review)
1.4
1.4
User Avatar
Hi, I’m a Computer Scientist, with knowledge of Electronics, and programming microcontrollers. Hi, I have experience creating code with C/C++ , Python and Java. I did some desktop projects with C/C++ and programming microcontrollers. And with python I did some data análisis projects. I hope will be helpful.
$22 USD in 10 days
5.0 (2 reviews)
1.0
1.0
User Avatar
Hello, I FOUND OUR SELF TO APPROPRIATE FOR YOUR PROJECT, I HAVE ALREADY BUILD SIMILAR KIND OF PROJECT IN MY PAST EXPERIENCE, I discuss more about the project and i also support your idea and I share my experience .I would like to works on your project and I will provide you initial features which you require with simple and elegant design. I would like to talk on each features you are in need of so we can discuss on them in FREELANCER CHAT WINDOW PLEASE. I have 5+ years of experience I built 100+ apps in android and iPhone,iPad, to ready and start work now “Client Satisfaction is my first priority.” Being an honest person I do my work with sincerity which develops very good relation with customer. Client Satisfaction is my first priority. Regard My Skills: - Web Development Html, Javascript, PHP, MySQL, MongoDB, PostgreSQL, Angular, ReactJS, Redux, NodeJS, c#, asp.net core, net framework. python, Django, Flask - Mobile Development Java, Swift, Objective-C, React Native, Flutter, Android Studio, Xcode
$15 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi dear, this looks to easy for me to do for you. i won't waste your time with large description. just contact me to start working. thanks
$17 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am expert in c,c++,python and java and has worked with lot of projects, accept the bid for delivery in 1 day.
$15 USD in 56 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have 3+ years experience in market and i am very much interested in exploring learning curves in asp.net , c , c++ and python .
$15 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hey there, I am an expert C/C++ Programming and I have a number of satisfied customers and I am glad to know that I can do this work for you efficiently. Give me a chance to impress you from my work.
$20 USD in 40 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of VENEZUELA
Caracas, Venezuela
0.0
0
Member since Nov 3, 2020

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.