C++ Beginner

HI guys! I need a lil help. Im new at C++ Programming and Im stuck at creating a simple program that will have this output:
if i enetered any word say alpha, it will be dislpayed as:
a
l
p
h
a

Thanks!
You need to do the following:

get word from user
loop over characters in word:
in each loop, output character and then endline

Start with getting a word from the user: http://www.cplusplus.com/doc/tutorial/basic_io/
Thanks bro! Its a big help. Imma try to make it.
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <iterator>
#include <algorithm>
using namespace std;

int main()
{
   cout << "Type a word and press enter:\n";
   copy( istream_iterator<char>( cin ), {}, ostream_iterator<char>( cout, "\n" ) );
}
Damn! Thanks bro!
The best way to learn is do it yourself. I doubt you learned anything from Lastchance's post.

I'd recommend trying again on your own even though one solution is provided.
Agreed.
Topic archived. No new replies allowed.