
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

COMPSCI 410/510 Databases (Spring 2009)
Programming Assignment #3, Due on 4/06/2009, Monday (11PM)
Description:
This programming assignment asks you to write a C program to retrieve data from the company database - print the company tree. That is,
The C program prints the company tree from MySQL system using mysql provided C API.
The sample programs we discussed in classes of how to use the provided C API can be found in onyx as follows:
∼jhyeh/cs410/labs/lab3/files/mysql/print company bfs.c ∼jhyeh/cs410/labs/lab3/files/mysql/js supervisor.c ∼jhyeh/cs410/labs/lab3/files/mysql/salary raise.c ∼jhyeh/cs410/labs/lab3/files/mysql/common.c ∼jhyeh/cs410/labs/lab3/files/mysql/common.h
The expected output of your program can be found in
∼jhyeh/cs410/labs/lab3/files/mysql/output.txt
Submission
Submit your programs from onyx by copying the files to an empty directory (with no subdirectories) and typing the following FROM WITHIN this directory:
submit jhyeh cs410 3