Add two features to C / SQL program
$30-250 USD
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!
Nº del proyecto: #681017
Sobre el proyecto
Adjudicado a:
5 freelancers están ofertando un promedio de $108 por este trabajo
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