The getline function gets the line you typed in the console and puts it in a string. The first parameter is the string you want to store the line in. The second parameter is the number of characters to be copied.
Code:
int iLine;
std::cin.get << iLine;
I forgot but I think this is how you use the get function. It gets an interger you inputed and stores it in a integer. _________________
What dosen't kill you, usually does the second time.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum