Need help with sentence printing in Special characters

C++ I need to know how to print a sentence out with special characters so if I was to enter "How are you", it then would print that sentence out with a character such as $ or * or @. so it would be

$.....$
$.....$
$$$$$
$.....$
$.....$

.$$$
$....$
$....$
$....$
.$$$

and so on. I know i need a for or while loop but I am clueless right now.
Last edited on
Can you be more specific please?
Give more examples, your question is not clear.
closed account (48T7M4Gy)
A good place to start is to forget about loops etc for a while and concentrate your effort on just printing out the single letter 'H'.
okay so even if I need to just print an H with special characters how would I go about doing that? Because I don't even know how to just print one letter so it looks like the H i have above.

I don't want to have to cout every line. i want it to ask for a letter then when it gets that letter "H" runs it in a function to print it out with special characters.
Last edited on
closed account (48T7M4Gy)
how would I go about doing that?


1
2
cout << "s   t   u   f  f" << endl;
cout << "t o o ea s y" << endl;
Last edited on
that doesn't help me... I don't want to hardcore it. My assignment ask me to do it with my initials a sentence and the alphabet so it would take forever for me to do it like.

this is an example of what I am talking about:
http://stackoverflow.com/questions/10086620/draw-x-letter-shape-using-asterisk
Last edited on
closed account (48T7M4Gy)
There you go. Do it that way. :)
Are you provided with a template for the letters?
Topic archived. No new replies allowed.