Add two features to C / SQL program

Completado Publicado May 8, 2010 Pagado a la entrega
Completado Pagado a la entrega

Attached is a program in C. The program is an SQL query processing engine - given a query, the program will generate an appropriate C source file. The source file when compiled & run will do the actual processing of the query and display output on the screen.

The program works, but, two limitations of the program are:

1. Does not compute average.

2. Currently the output is being printed on the screen but it should go to a file (extension .pgc) (The .pgc file when compiled, will give the output for the required query)

Eg, in the [url removed, login to view] file, currently there's code like this:

printf("#include<stdio.h>\n");

printf("#include<string.h>\n");

printf("#include<stdlib.h>\n");

//Creating MF Structure For Query.........................................................

printf("EXEC SQL BEGIN DECLARE SECTION;\n");

printf("typedef struct\n{\n");

you should be able to modify it so that instead of printing on the screen it'll write to a file.

Finally, if possible, try and optimise the whole code - use better functions / routines if possible, make the code more modular, change the comments to look more professional, add more comments, etc.

-----------

So to summarise, your task is to:

- Fix limitation 1 (Optional)

- Fix limitation 2 (compulsory)

- Optimise program (Optional)

When placing your bid, please mention which of the above three tasks you'll be able to perform.

-----------

IMPORTANT: Please go through the attached files first (in the archive) before you make a bid or ask any questions.

Project [url removed, login to view] -- Contains information on what the program should do

[url removed, login to view] -- Contains information on how the program works

[url removed, login to view] -- How to compile & run the program.

[url removed, login to view] -- Source code

output for [url removed, login to view] -- (this may be useful for you if you don't have the necessary tools 2 compile the program)

Reference Docs -- This folder contains info about some SQL stuff

Examples of Generated Programs -- This folder contains some programs generated by this program, along with their outputs

------------

*************** DEADLINE FOR THE PROJECT TO BE COMPLETED IS: 9th May, 11:00 PM EDT. ***************

So bid fast, and reply to my messages quickly so that we can start work ASAP.

Faster bid process == more time for you!

Programación en C Linux SQL

Nº del proyecto: #681017

Sobre el proyecto

5 propuestas Proyecto remoto Activo May 9, 2010

Adjudicado a:

lproduce

I can help you.

$50 USD en 1 día
(5 comentarios)
3.1

5 freelancers están ofertando un promedio de $108 por este trabajo

HussienSharaf

Hi, plz check PM Regards, Hussien Sharaf

$50 USD en 2 días
(26 comentarios)
6.9
veenaykay

Please see Private message for details. Thank you.

$200 USD en 0 días
(1 comentario)
2.6
andreiursuleanu

fix from point 2. can be done in 1 hour(including testing). In your time limit I will try to make the avarage and code optimization, but the time is very short, so I will try to do in this interval at least avarage. Más

$30 USD en 1 día
(0 comentarios)
0.0
adarshkr

we are group of 3 well trained computer graduates and have expertise in this field .

$210 USD en 14 días
(0 comentarios)
0.0