its to be run on any OS. im programming in C++ using glut, writing in Visual C++. the input isnt from a command line its from an array of tesseral addresses. the point of it is to use the case statements to extract a set of coordinates from the tesseral addresses.
if it is an array of tesseral addresses then it is to do with opengl its to do with building a 3d image from these addresses which is why he wants to get the coordinates. the whole info just was not there
Don.t know if you are still around rborob, but I think what you are asking for is efficient parsing of the string. How you input depends whether you use the command line, a file or a graphical interface.