Find Jobs
Hire Freelancers

ansi c project on structures

$30-250 AUD

En curso
Publicado hace alrededor de 10 años

$30-250 AUD

Pagado a la entrega
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 del proyecto: 5884035

Información sobre el proyecto

27 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 1 día
5,0 (15 comentarios)
4,2
4,2
27 freelancers están ofertando un promedio de $54 AUD por este trabajo
Avatar del usuario
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 en 1 día
4,9 (477 comentarios)
6,9
6,9
Avatar del usuario
Hello, I can do your project in 2h. Can start working immediately. Thanks...........................
$30 AUD en 0 día
5,0 (250 comentarios)
6,8
6,8
Avatar del usuario
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 en 3 días
4,9 (25 comentarios)
5,4
5,4
Avatar del usuario
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 en 2 días
5,0 (10 comentarios)
4,9
4,9
Avatar del usuario
A proposal has not yet been provided
$35 AUD en 3 días
4,9 (12 comentarios)
4,4
4,4
Avatar del usuario
A proposal has not yet been provided
$35 AUD en 3 días
4,9 (24 comentarios)
4,3
4,3
Avatar del usuario
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 en 1 día
4,7 (15 comentarios)
4,2
4,2
Avatar del usuario
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 en 3 días
4,9 (15 comentarios)
3,8
3,8
Avatar del usuario
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 en 3 días
5,0 (11 comentarios)
3,6
3,6
Avatar del usuario
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 en 1 día
5,0 (7 comentarios)
3,8
3,8
Avatar del usuario
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 en 0 día
4,7 (6 comentarios)
3,4
3,4
Avatar del usuario
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 en 3 días
5,0 (2 comentarios)
3,1
3,1
Avatar del usuario
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 en 1 día
5,0 (2 comentarios)
3,2
3,2
Avatar del usuario
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 en 1 día
5,0 (1 comentario)
0,5
0,5
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$88 AUD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$60 AUD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$30 AUD en 0 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de AUSTRALIA
Australia
0,0
0
Forma de pago verificada
Miembro desde may 1, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.