hey! thanks Ooble! works great now... except one thing

i had to change it to char, but before i did, i tried what you told me, but when i chose a title or the text there could be no spaces, because anything after the space wouldnt show up, so heres how i approched it:
if (line == "box"){
char buffer[100];
cout << "\nEnter the text: ";
cin.getline(buffer,100);
char buffertwo[100];
cout << "\nEnter the title: ";
cin.getline(buffertwo,100);
MessageBox(NULL, buffer, buffertwo, 0);
}
now that works great,
but it always skips the text section, it will be like this:
Quote:
Enter the text: \\ this is what gets skips, although it gets printed out, you cant input anything into it because it goes to title..
Enter the title: |cursorhere|
|
anymore suggestions? thanks!
