Im reading data in from a file and using the values captured to manipulate shape placement in opengl. However, the data I get from the file is for example an 'ascii 0', so when i come to stick this into the function to position it, it doesnt understand that all it is is a 0. Ive seen a toascii() function when looking for an appropriate function, is there a similar function to convert ascii to ints?