Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with cin.get() and cin.ignore()

Status
Not open for further replies.

melbolt65

Programmer
Jan 9, 2003
5
US
I am designing a little console based chat program using winsock. the winsock part of the program works, it transfers screennames correctly but when i try to send a message it crashes due to the input stream, i believe. i think the problem is with my cin.get() and cin.ignore() functions. check out my code and lemme know if you see a problem. if you want to compile this program it requires Mpr.lib and Wsock32.lib
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top