[gameprogrammer] Re: Simple C++ Program
- From: "alexandros mouzakidis" <greatalexandros@xxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Mon, 25 Sep 2006 10:58:13 +0300
Yes this is the fun part
but BOris just now started to learn the basic stdout objects
I dont think that he can handle arrays
but i like the way you think :)
On 9/25/06, Mike Gillissie <Niyoto@xxxxxxxxxx> wrote:
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 <greatalexandros@xxxxxxxxx>
*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.
>
- References:
- [gameprogrammer] Simple C++ Program
- From: boris Jiron
- [gameprogrammer] Re: Simple C++ Program
- From: alexandros mouzakidis
- [gameprogrammer] Re: Simple C++ Program
- From: Mike Gillissie
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
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 <greatalexandros@xxxxxxxxx> *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. >
- [gameprogrammer] Simple C++ Program
- From: boris Jiron
- [gameprogrammer] Re: Simple C++ Program
- From: alexandros mouzakidis
- [gameprogrammer] Re: Simple C++ Program
- From: Mike Gillissie