• Log in or sign up for an account here: https://www.sythe.org/login

need help with Making "heading"

Joined
May 9, 2006
Sythe Gold
0
Messages
593
We just started C++ at school. In 3 weeks we need to make 4 on a row etc.

But my partner and me are thinking of making a heading with our names (if we run the program)

Something like this with our names. Can someone help me with this?
I'm willing to pay. For more information, please add me on msn so we can discuss

*** ***
**** ****
** **** **
** **

Edit: this above needed to be a M
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Not sure what you're asking.

Do you mean a program that prints out an 'M' using *s?
 
When i run the program (Ctrl + F5)
than it must show our names at the top (heading) by using *s
if that's possible ofcourse
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Sure is possible.

I would approach it by writing a "PrintStrAsStars(char *str)" function, which calls a "PrintCharAsStars(char c)". Both would do what their names suggest.

Naturally, the second function would be a lot longer than a function should be. Can't think of any way around that.
 
Send a PM to my main account with information about this assignment.
 
Take a look at my java help thread in my sig - I do c++ as well.

I presume this assignment is already finished so for anything in future let me know.
 
duelarena.gg
Back
Top