Find Jobs
Hire Freelancers

C++ homework: Parse datafile(html), store in struct, write to binary file

$20-25 USD

Cancelado
Publicado hace alrededor de 19 años

$20-25 USD

Pagado a la entrega
I need this done before 48 hours! Please tell me how long this will take you. The previous programmer got in an accident and couldnt complete. Please see the attachment for the rest of the details. I would prefer C++, this is the first proj for a Database B-Tree Implemention (indexing, branching, etc). Someone with knowledge of that and who can complete other upcoming/sequential projects would be helpful. I will provide the datafile, so you will not have to worry about the first step Specification 1. Your code should read in the input data, which as you will see has variable length fields. 2. Your code should extract each field individually and write it to the screen, and to disk. 3. The fields written should be fixed length fields. Thus it may be necessary to truncate some fields. 4. The primary key is the NID ID. We will assume there are no duplicates. 5. At the same time you should construct a data record (structure) consisting of fixed length fields. 6. The record should be written to a file - datafile.txt. 7. The records should be written one record at a time (not field by field). 8. You should use C++ type output you would do something like the following. There are probably many solutions, but this is one that appears to work: [login to view URL]((char*) &MyDataRecord, sizeof(MyDataRecord)); 9. The required format for output to the screen is 10. Sequence number (RRN) 11. Primary key 12. All other fields in the record in the same order as in the data file # The output for one record should fit on one line. Fields should be separated by '|' character. # The format for the output file should be similar, but omit the RRN and '|'. # Note that in some cases the "Clan" field is omitted. This should be detected and a blank Clan provided. # Your executable file should be named showdata. # There should be no restriction on the number of records processed. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Linux, G++!
ID del proyecto: 3630498

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 19 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
3 freelancers están ofertando un promedio de $18 USD por este trabajo
Avatar del usuario
See private message.
$20,40 USD en 1 día
5,0 (8 comentarios)
3,6
3,6
Avatar del usuario
See private message.
$11,90 USD en 1 día
5,0 (6 comentarios)
2,8
2,8
Avatar del usuario
See private message.
$21,25 USD en 1 día
0,0 (1 comentario)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
4,9
159
Miembro desde jul 18, 2003

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.