void GenerateNormal(float x[3], float y[3], float z[3], float &ox, float &oy, float &oz)
{
//Calculate coordinates for a glNormal and return them ox,oy and oz
}

I have a sinking feeling that the math will be quite difficult. Can anybody help me?

The math is very simple. Take the difference between two pair of points (like pt2 - pt1, and pt3 - pt1) to get two vectors, take the cross-product of the vectors, and normalize it. That's it. In other words:

Hi!
I have two tables, I will call them first-half and second-half (of the year)

Table: first
id jan feb mar apr
-----------------------
2 80 90 70 60
3 50 40 60 30
Table: second
id jan feb mar apr
-----------------------
2 50 70 60 90
3 80 60 50 ...

hey guys
i am trying to create a library management system which is supposed to be used to store/keep infp for the library and the library members( book title, author, name and picture for borrower and other stuffs). The app has 6 buttons, delete, save, add,previsous,next, and upload( for upload ...