On 9/24/06, boris Jiron <xxlildragonjr@xxxxxxx> wrote:
As I said before I am new to programming. Do you think you could give me an
example of the code?
If you are new to programming, and taking a beginning class, then you may not have gotten into arrays yet.
Oh, good point. I forget what its like to be a beginner sometimes :)
If this is the case, an alternate, much messier, method of accomplishing this objective would be simply printing strings.
I'd try basically the same approach as Mike and Jake suggested, start by using something like cout << "MMMMMMMMMM DDDDDDDDDD SSSSSSSSSS" << endl;
you will nead to adjust the number of letters and number of cout statements to get a block of letters the size you want. Then, begin replacing letters with spaces inside the strings to begin forming the shape of the larger letter.
You could just have :
cout << "DDDDDDDDD " << endl; cout << "DDDDDDDDDDD " << endl; cout << "DDD DDDDDDDD " << endl; cout << "DDD DDDDDDD " << endl; cout << "DDD DDDDDD" << endl; cout << "DDD DDDD" << endl; cout << "DDD DDDD" << endl; cout << "DDD DDDDDD" << endl; cout << "DDD DDDDDDD " << endl;
Jake
-- Jacob Briggs Systems Engineer
Core Technology Limited Level 1, NZX Centre 11 Cable Street Wellington Phone +64 4 801 2252
--
object doAnythingConceivable(string whatToDo, object whatToDoItWith) { .....
--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html