cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Need help with code
Need help with code
Mar 23, 2015 at 6:41pm UTC
closed account (
L6vXSL3A
)
Hello,
I would be really happy if someone could help me. I have code which finds words who has second letter 'o'. So, I don't know how every three words join into one.
For example.
My program finds words with second letter 'o':
gone
done
to
work
some
no
I need to get from these words:
gonedoneto worksomeno
Last edited on
Mar 25, 2015 at 10:08am UTC
Mar 24, 2015 at 3:32am UTC
SamuelAdams
(1535)
It's not clear what your asking to me. Are you saying you want to find all the o's ?
You should also format your code with the <> feature for readability.
Mar 24, 2015 at 5:39am UTC
Little Captain
(206)
You definitely have to give us more details. :/
If you want, email me at: sparkprogrammer@gmail.com
Joe
Mar 24, 2015 at 5:48am UTC
closed account (
L6vXSL3A
)
Sorry for that. The thing is what I want to do for a example. If you have file (.txt) which has text in it and this text is writen in columns.
For example file with text:
I
know
nothing
about
this
event
I needthat this text looked like this: Iknownothing aboutthisevent
How you see I need to join three words make an extra space then again join three words.
Mar 25, 2015 at 1:24am UTC
jasonwynn10
(412)
Don't do repeat topics!
http://www.cplusplus.com/forum/general/160312/
Topic archived. No new replies allowed.