Find Jobs
Hire Freelancers

C Programming task

$250-750 USD

Closed
Posted over 5 years ago

$250-750 USD

Paid on delivery
You must first load all run data from the given text file to an array of bicycle results (an array of structs). In your program, the text file must be called "cykelloeb". Each line in the data file represents one result of one cycle race for one rider. The format of a line in the text file is: race name rider name rider-age rider-hold nationality placement driving time The placement can also be specified as DNF (did not finish) as a sign that the rider did not complete the race or as an over time limit (OTL) indicating that the rider did not reach the goal within the time limit of the race (thus not achieving a proper placement) . Driving time is specified in hours, minutes and seconds separated by the drawn colon. Riders who have not completed the race have a driving time indicated by the sign '-'. The seven components of a race result are separated by one or more spaces, although the group of age, team and nationality is encircled with the character '|'. Here is an example of a race result: ParisRoubaix "Greg VAN AVERMAET" | 32 BMC BEL | 1 5:41:07 Cyclists are awarded a number of points based on their participation, and their achievements, in the bicycle race that is included in the data. Here are the rules for awarding points: 1) Participation points: Participation and implementation in a cycling race within the time limit gives 3 points. Participation and implementation in a cycling race outside the time limit gives 1 point. 2) Placement points: If you complete the cycle race without exceeding the time limit of the race, you get (M - P) / 13 extra points, where M is the number of riders who have run the race (including the riders who have received DNF) and P is the rider's position in run. 3) Podie points: In addition to this, the winner of a bicycle race will receive 10 extra points, the second two will receive 5 extra points, and the number three will get 2 extra points. Write a C program with the following troubleshooting features: Find and print the race results for all Italian cyclists over 30 years. In this task, it is OK to create a function that just prints the results directly. Write a function that returns an array of all the Danish riders who have completed one or more of the four bicycle races, either with a location or with OTL. Call the feature and print these Danish riders and how many races each Danish rider has completed. Note that each rider only wishes to be printed once. Print the 10 riders who have achieved the most points. Sort primarily riders by number of points. By punctuality, the riders are sorted alphabetically by surname. (The last name is that part of the rider's name, which is written in uppercase letters. Note that the surname may also contain spaces and special characters). In this task, focus is on the two cycling race Paris Roubaix and the Amstel Gold Race. Write a function that finds the rider who has completed both of these races and has the minimum total driving time in the two races. The function must have the rider and total driving time as output parameters. Call the function and print the rider's name and total driving time (in hours, minutes and seconds). Calculate the average age (of the double type) among all the riders who have achieved a top position in one or more cycling bets. Be sure that riders who have a top ten result in two or more of the four races are not included once more in the average calculation. Write a main function, which in a simple text-oriented dialog with the user allows activation of the above functions. It is recommended that this part of the program be made as simple as possible. Suppose your translated program is on the [login to view URL] file. When your program is running as [login to view URL] - print it must - without receiving any input from the user - print your results for all tasks in a clear and clear way on the standard output. (Use program parameters to main to achieve this).
Project ID: 18261333

About the project

27 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
27 freelancers are bidding on average $363 USD for this job
User Avatar
Hello, I am a guru with C and C++ ... I can do it in few days....please, let me know when you need it, and I will do it. Best regards!
$333 USD in 5 days
5.0 (87 reviews)
7.1
7.1
User Avatar
Hi. I have about 15 years of programming experience. Mostly I used C, C++ and C# for my projects development. I can implement the task.
$400 USD in 5 days
5.0 (94 reviews)
6.6
6.6
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.
$250 USD in 5 days
4.9 (132 reviews)
6.9
6.9
User Avatar
Hi there, I have checked the details I have rich experienced with C Programming. Please initiate chat so we can discuss this job.
$555 USD in 10 days
5.0 (8 reviews)
6.3
6.3
User Avatar
Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C programming. I will provide you quality work according to your instrument. I am ready to discuss with you Thank you.
$555 USD in 10 days
4.9 (99 reviews)
6.1
6.1
User Avatar
Hi, I have over 10 years of experience in C and C++. I have read the entire description. I can do this in a day or two. Please message me.
$500 USD in 2 days
4.9 (88 reviews)
6.2
6.2
User Avatar
Hello there, I teach C++ and have 20+ years experience of commercial R&D based C and C++ engineering experience. Can I help you with this task? :)
$300 USD in 2 days
5.0 (21 reviews)
5.8
5.8
User Avatar
quality work. .
$500 USD in 5 days
4.9 (17 reviews)
5.7
5.7
User Avatar
Hi. I would like to work with you on this project. As a C developer, I can do it for you quickly and by your requirements. I have done a lot of projects like this. Message me to discuss more your project, when you need it to be done. Price is also negotiable.
$250 USD in 2 days
4.9 (48 reviews)
5.3
5.3
User Avatar
Hi, I can do this for $200 I do a lot of C programming and I can definitely finish this in quick time. I can easily read the riders data from file, parse the strings into an array of structure and calculate the required results. We can do Quicksort or Heapsort. Please ping me Some of my recent C/C++ work reading inputs from a file: https://www.freelancer.com/projects/c-programming/project-graph-theory-find-the/?w=f Review from employer: “Super fast, delivered within 10 hrs , excellent communication, A++++ and Clean code.” I write original code from scratch and is never copied from the internet. I assure you of clean and well commented code. I would love to take up this project and definitely finish up in quick time with your satisfaction. Looking forward to working on this one. Please send me a message Background: Software developer by profession having 4+ years of experience in C, C++, Python and other scripting languages for automation. I have worked on RESTful APIs as well.
$250 USD in 1 day
5.0 (21 reviews)
4.8
4.8
User Avatar
hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Then, I will give you good result to the proposals. hire me.
$500 USD in 10 days
4.8 (6 reviews)
4.9
4.9
User Avatar
Hi, I'm an embedded software engineer with extensive experience with C. C/C++ is pretty much all I use for work. I understand your task, essentially to parse the input text file, extract certain pieces of data from it and display them. I can complete this quickly and efficiently, exactly as needed. Contact me to discuss details.
$250 USD in 3 days
5.0 (18 reviews)
4.5
4.5
User Avatar
I can do this project. I have experience of C & C++ and Java programming for 4+ years. I can satisfy you perfectly. Please contact me and discuss in detail.
$250 USD in 1 day
5.0 (10 reviews)
3.5
3.5
User Avatar
Hello, From the description of the project, it seems that you want to implement some "Database related operations" such as searching, sorting, and indexing using C by reading a given text file. As I already worked on a similar project (on Topcoder), where we were asked to read and process a large matrix stored in a disk file using C. While processing the data, I used a quick-sort algorithm to prepare an index and sort the data. As your program seems to fall on similar lines, I would like to help you in completing the assignment. Please reply to this proposal, if you find it useful. Regards, Atul Rajdhar
$275 USD in 10 days
5.0 (4 reviews)
3.7
3.7
User Avatar
Dear client. I've read your project description carefully and very interested. Let's discuss over chat and get started. Waiting for your reply. Best regards.
$500 USD in 10 days
5.0 (6 reviews)
3.1
3.1
User Avatar
I am Senior Embedded Systems & C/C++ developer. Developer expert on VC++, Eclipse Mars for C/C++, gcc,g++ in Win and Linux. OpenGL, OpenCV, Cuda. Developer expert on low level programing on C/C++. Expert on PIC, ATMEL, ARM Microcontroler and Arduino. Several years working with read, write, formatting, find and show results of retail company transactions file text.
$444 USD in 10 days
5.0 (4 reviews)
3.0
3.0
User Avatar
Hi, I'm interested in your project, and I will be able to complete it within couple of days. Feel free to contact and discuss about pricing.
$250 USD in 2 days
4.3 (2 reviews)
3.1
3.1
User Avatar
Hi Hope you are fine and in good health I can help you in your project Im already doing the same assignment reading from a text file and place the atteibutes in data structure but that one is for phonebook Yours one is approximately same but we need to modify the code. If you are interested then feel free to contact me Ill be happy to assist you
$400 USD in 1 day
5.0 (3 reviews)
1.4
1.4
User Avatar
I am Tarek from Alger, Amgeria, serving for more than 5+ Years all across the globe in the Industry of Web Development and graphic design. It will be my pleasure to work for. We are too sure about the quality and services too. We hope we will do something great over here and will be able to keep the long term relationship too.
$250 USD in 10 days
0.0 (0 reviews)
0.6
0.6
User Avatar
Hi I read your project and I will feel glad to work with you. Am new here, but I will make sure to complete your work on time. Thanks.
$300 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of DENMARK
Haderslev, Denmark
0.0
0
Member since Nov 29, 2018

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.