thanks man, i tried to declare the fuctions before hand but forgot the ";" after it so i got a ton of errors and just got rid of it. anyway it works now. thanks
Type: Posts; User: physics_boy
thanks man, i tried to declare the fuctions before hand but forgot the ";" after it so i got a ton of errors and just got rid of it. anyway it works now. thanks
its the same thing but just with the float get_z as opposed to the int get_z... i'm really confused as to why its not working
#include <stdio.h>
#include <stdlib.h>
int main()
{
float...
now it just returns a value of 1.000 no matter what number i enter... any idea why?
it seems i can only return an integer value from a subprogram? i need a float value returned is there something i'm missing here? i wrote this quick block of code to show you what i mean. say i type...