[gameprogrammer] Re: Simple C++ Program
- From: "Mike Gillissie" <Niyoto@xxxxxxxxxx>
- To: <gameprogrammer@xxxxxxxxxxxxx>
- Date: Sun, 24 Sep 2006 17:47:39 -0400
That won't get you your A+... ;)
How's this for a starting point - find a way to define a 2-dimensional array of
characters and to print it on the screen. Think of this array as a grid, and
create it so that it's full of the letter "B" (ie. when you print it out, it
will display as a rectangular bundle of Bs.) Once you have that working, start
replacing some of the Bs with spaces so that when it prints it actually LOOKS
like a B made of Bs.
Do that for each letter (each one in it's own array). Then you'll need only
figure out how to print them side-by-side...
Without actually giving away the fun parts of your homework... good luck! :)
----- Original Message -----
From: alexandros mouzakidis
To: gameprogrammer@xxxxxxxxxxxxx
Sent: Sunday, September 24, 2006 5:36 PM
Subject: [gameprogrammer] Re: Simple C++ Program
#include <iostram>
using namespace std;
int main(){
cout<<"BAJ"<<endl;
return 0;
}
On 9/25/06, boris Jiron <xxlildragonjr@xxxxxxx> wrote:
Hello guys/gals. I'm new to programming and one of my first assignments is
to make a program that when I run it will print my initials like big. For
example my intials are BAJ and it supposed to be B's that spell a big B and As
that spell a big A and Js that spell a big J. I was wondering if anyone could
help me. My school uses code warrior for all of our programming. Thanks ahead
of time.
- Follow-Ups:
- [gameprogrammer] Re: Simple C++ Program
- From: boris Jiron
- [gameprogrammer] Re: Simple C++ Program
- From: alexandros mouzakidis
- References:
- [gameprogrammer] Simple C++ Program
- From: boris Jiron
- [gameprogrammer] Re: Simple C++ Program
- From: alexandros mouzakidis
Other related posts:
- » [gameprogrammer] Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- » [gameprogrammer] Re: Simple C++ Program
- [gameprogrammer] Re: Simple C++ Program
- From: boris Jiron
- [gameprogrammer] Re: Simple C++ Program
- From: alexandros mouzakidis
- [gameprogrammer] Simple C++ Program
- From: boris Jiron
- [gameprogrammer] Re: Simple C++ Program
- From: alexandros mouzakidis