I am working on an implementation of a text input in C using SDL so I need to get the length of the text so that I can place the cursor in the right position. any idea how to measure text ??
TTF_SizeText (Assuming you are using SDL_ttf)