cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Users Entry Causes Segfault
Users Entry Causes Segfault
Apr 24, 2013 at 10:20pm
Apr 24, 2013 at 10:20pm UTC
tiffleroux
(1)
I need the user to enter an int and press enter. If they enter several chars before pressing enter it causes a segfault. How can I get the first char of the line that they enter?
Topic archived. No new replies allowed.