http://www.cprogramming.com/cboard/s...threadid=20793

some ppl helped me out a little but i'm still stuck, help would be greatly appreciated.