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
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
C++ Problem
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
listerkram
New Member
Join Date:
Oct 2008
Posts:
2
#1
C++ Problem
Oct 20 '08, 09:08 AM
Can anyone give me a c++ source code with an output of:
output:
INPUT A SENTENCE:
THE SENTENCE YOU ENTERED IS: _______________ _____
JosAH
Recognized Expert
MVP
Join Date:
Mar 2007
Posts:
11453
#2
Oct 20 '08, 09:12 AM
Bookmark
this site
; it's a good reference site with good examples.
kind regards,
Jos
Comment
Post
Cancel
listerkram
New Member
Join Date:
Oct 2008
Posts:
2
#3
Oct 20 '08, 09:26 AM
thanks man...
but its hard to look for what i want to know....
Comment
Post
Cancel
JosAH
Recognized Expert
MVP
Join Date:
Mar 2007
Posts:
11453
#4
Oct 20 '08, 09:45 AM
Originally posted by
listerkram
thanks man...
but its hard to look for what i want to know....
You can read, can't you? We are not going to spoonfeed you example code.
Three clicks away from that link is a perfect example.
kind regards,
Jos
Comment
Post
Cancel
whodgson
Contributor
Join Date:
Jan 2007
Posts:
542
#5
Oct 21 '08, 02:46 AM
look up 'gets' and 'puts'
eg
char str[81];
gets(str);//type a line of input which is stored in the str[ ] array
puts(str);//prints the line of input (just typed) from the str[ ] array
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment