Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
inputting an integer string in c++
inputting an integer string in c++
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Stile213
New Member
Join Date:
Oct 2006
Posts:
1
#1
inputting an integer string in c++
Oct 15 '06, 05:09 PM
What's the easiest way to input an integer string using the cin function? The string will be single digits and from 1 to 5 elements long.
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#2
Oct 16 '06, 12:32 PM
int x;
cin >> x;
Simplest but not very robust.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment