Find Jobs
Hire Freelancers

ansi c project on structures

$30-250 AUD

进行中
已发布将近 10 年前

$30-250 AUD

货到付款
Declare a structure of type Car to represent a motor car including the elements: make (string, ie either an array of chars or a pointer to a char) manufactureDate (Date - see below) purchaseDate (Date - see below) purchasePrice (double) You will need to also declare a structure of type Date to represent the: day (int) month (int) year (int) (That is, you will have structures nested inside a structure.) Write a program that reads (from the user or a file - the user is given a choice) the above car information for a number of cars. Put this in an array called fleet that can hold up to 10 cars. (The program is to be able to handle a fleet of less than 10 cars as well. You may like to use a sentental value for this purpose.) The program can give the user the following options: add a car; delete last car (ie the last car on the array); display the fleet on the screen; save the fleet to a file; read the fleet from a file. You are not expected to be able to originally create the file externally to your program (ie you can only read it after you have saved it from your program). You are free to use either a binary or text file (hint: binary files are much easier). Write the following input functions: addCar() and getDate() (which gets the information from the user) and readFleet() (which reads the information from a file). (You are to use the "pass-by-reference" rather than the "return" mechanism for these functions.) Write the following output functions: showFleet(), showCar(), showDate(), (which prints the information to the screen) and saveFleet() (which saves the information to a file). Note that the purchase price is to have a '$' sign before the amount and the amount is to be printed to two decimal places. Both the getDate() and showDate() functions should be generic enough to handle both the manufactureDate and purchaseDate. Your program is to have appropriate error checking for user input and file I/O. That is, for user input, you need to check that the dates (ie day, month, and year) and purchase price are within an appropriate range. For the file I/O you need to check for fopen() returning a NULL pointer. You do not have to check for type mismatching.
项目 ID: 5884035

关于此项目

27提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi.. I am Nikhil. I have working experience of 3+ year in C and C++Development. I have done work on: 1. Data Structure like: Set, Vector, Linked list, Stack, Tree(Any type), Graph. 2. STL ( Standard Template Library) 3. Networking Socket, IO programming 4. File Handling and Parsing. Currently I have done similar projects for collage students like: 1. Implemented Chess Class 2. Implemented Classes for hotel management. I delivered him but Employer did not award me project. and Many more... Let start conversation so you get to know about my skills and ability. Please give me a chance to do work with you and I am promising you that you will not disappoint by me. I read your description and understood your requirements. I am very sure that I will do this within 3 to 4 hours. I will write code with comments so you will understand it easily and I will also help you to solve any further query.. If you need any help after project then I will be here. Please give a chance to conversation with you. I am waiting for your positive response. Thank you Very much.
$30 AUD 在1天之内
5.0 (15条评论)
4.2
4.2
27威客以平均价$54 AUD来参与此工作竞价
用户头像
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.
$35 AUD 在1天之内
4.9 (477条评论)
6.9
6.9
用户头像
Hello, I can do your project in 2h. Can start working immediately. Thanks...........................
$30 AUD 在0天之内
5.0 (250条评论)
6.8
6.8
用户头像
Hello, I am an expert in C programming and have handled many such programs. I have written programs at system levels of malloc and shell. I can get this done in a day. Thanks, Shweta
$200 AUD 在3天之内
4.9 (25条评论)
5.4
5.4
用户头像
Hi, I am an expert developer and I am ready to develop the program exactly according to your specification. Please see my profile and also consider my bid.
$40 AUD 在2天之内
5.0 (10条评论)
4.9
4.9
用户头像
A proposal has not yet been provided
$35 AUD 在3天之内
4.9 (12条评论)
4.4
4.4
用户头像
A proposal has not yet been provided
$35 AUD 在3天之内
4.9 (24条评论)
4.3
4.3
用户头像
Hi, I am a graduate in CS and working as a C/C++ programmer for 3+ years. I have done lots of assignments both in academic courses and in freelancer.com. I assure you of clean, efficient code with proper comment and documentation. thanks
$40 AUD 在1天之内
4.7 (15条评论)
4.2
4.2
用户头像
Hi I am c/c++ expert can work on your project and quickly finish it asap . please ping me for discussion thanks and regards vkoder
$40 AUD 在3天之内
4.9 (15条评论)
3.8
3.8
用户头像
I am an experienced coder. I have written over more than 1000 codes in c and c++. And I can finish this work successfully. Thank you
$155 AUD 在3天之内
5.0 (11条评论)
3.6
3.6
用户头像
I can develop such c program easily for linux environment. Just accept my bid and I will do the rest. I will use of standard coding practice of ANSI C.
$30 AUD 在1天之内
5.0 (7条评论)
3.8
3.8
用户头像
I am an experienced c programmer, I can deliver you this project in 12 hours as a hard deadline. Also I will deliver you the code fully documented. Please contact me for any further details. Thank you
$30 AUD 在0天之内
4.7 (6条评论)
3.4
3.4
用户头像
Greetings Sir, I'm an experienced developer ready to take up your task, moreover I've already worked with an employer from Australia. Satisfaction guaranteed! I've graduated from Military University of Technlogy in Warsaw's Cybernetics Faculty. Currently I'm doing my Master's degree. If you have any further questions feel free to post me. Thanks, Dawid Bugajewski, Eng.
$55 AUD 在3天之内
5.0 (2条评论)
3.1
3.1
用户头像
I will provide well documented code ad build/run instructions if needed. On what platform do ou need this program to run? (Linux?, Windows?)
$30 AUD 在1天之内
5.0 (2条评论)
3.2
3.2
用户头像
Hello, i'm a software, web and mobile developer (Android), i'm a computer engineer, with 4 years of experiences, Contact me & give me details about your project, i'm very interesting to do it
$30 AUD 在1天之内
5.0 (1条评论)
0.5
0.5
用户头像
HI, This is Ranendra with 5 years experienced in c, c++, java programming. I am interested working with you in this project and willing to give you a demo within 2 days. waiting for your positive response, Thanks.
$55 AUD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, I am willing to help you with your project. I am an experienced C and C++ programmer. I studied Computer Science so I am quite used to solving various coding assignments like yours. Currently I work as a C / C++ developer. As to your project, I think you provided very detailed description of the task and I understand everything very well so for now I don't have any questions regarding the problem. If you choose me to do the job, I will be able to finish it in just a few hours. I will write clear and understandable code that will meet all provided requirements. I will comment the code and explain it to you if you want. I will also create a simple and easy-to-use command line interface and I will do it all really fast. If you have any questions or suggestions, please feel free to conact me and ask. I really hope you give me the opportunity to help you. I am looking forward to your reply and discussing the details. Regards, Bartosz P.S. Sorry for any possible language mistakes. I'm not a native English speaker. UPDATE: I just realized I actually have a question. Do you have any requirements regarding the input and output of your program (any special format or something)? I am asking because I know assignments like this one are sometimes automatically run and evaluated by computer programs and they usually need very specific output. Bartosz
$30 AUD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
A proposal has not yet been provided
$88 AUD 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
hi, I have an excellent C programming skills. I am from Delhi Technological University, One of the best institution of India. I have done several projects in C, C++. I have programmed robots, and simpler games like tic-tac-toe, snake and ladder. I also have experience in Image Processing. I would love to work on this project. Thank you, Rohit Rawat
$35 AUD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
A proposal has not yet been provided
$60 AUD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
A proposal has not yet been provided
$30 AUD 在0天之内
0.0 (0条评论)
0.0
0.0

关于客户

AUSTRALIA的国旗
Australia
0.0
0
付款方式已验证
会员自5月 1, 2014起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。