oooo i didnt know visual studio uses different header based on what language im using.
sweet that works, THANKS!
im getting this warning now. was this what you were talking about bubba?
Code:c:\startupplot.c(161) : warning C4013: 'malloc' undefined; assuming extern returning int c:\startupplot.c(164) : warning C4013: 'free' undefined; assuming extern returning int