how do i get a word from an input box and make it into a variable that i can work with.
Bryan Whitehorn
I'm not fully sure what you mean by an input box. Are you referring to an edit control or something like that? If so, you'll want to use GetWindowText to get the text from it. If you mean a console window then you'd use one of the functions from the standard library such as scanf.
If you need to split a buffer of text into words, you could use strtok to loop through them.
Whatever
i mean from a windows application
from a Editbox in a dialog
Bryan Whitehorn
Try using the Windows API function GetDlgItemInt().
Pelle