what header file do I need to use the random function for variables?
i think it's math.h if that doesn't work, try stdlib.h
http://www.cprogramming.com/boardfaq.html#random
gcc -lalleg http://www.ciusa.net/~jrgrant/
If I recall correctly, it was stdlib.h