k hi every1, im kinda new to C++, anyways..this is an assignment for my college.
im supposed create a program that displays the username in a "creative" way.
so first thing is do i use the get and ignore functions to get the initial if the user enters the whole name?
and if so then how do i display the name creatively?k does anyone know how to display a letter with '*'s? for example, say the letter C

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

> how to display a letter with '*'s? for example, say the letter C
something like this, perhaps?

#include <iostream>

enum { HEIGHT = 8, WIDTH = 8 };

const char* const C_bitmap[HEIGHT] =
{
  "********\n", "********\n",
  "**\n", "**\n", "**\n", "**\n",
  "********\n", "********"
};

int main()
{
  for( int i=0 ; i<HEIGHT ; ++i )
    std::cout << C_bitmap[i] ;
  std::cout << '\n' ;
}

hey thanks..but i dont understand what you have done...???im really sorry.im a super beginner!and also when i complile no errors but wen i build it i get 4 errors!why??so lets say if i want to hav the letter D il have to do the whole "*********\n", "** **\n", ..... thing is it??

> when i compile no errors but wen i build it i get 4 errors!
what are the errors? and which compiler are you using?

> if i want to hav the letter D il have to do the whole "*********\n", "** **\n", ..... thing is it??
yes, you need one pattern for each letter. and a look-up mechanism to get to the right pattern given a particular letter.

> im a super beginner!
perhaps you could attempt something simpler. eg. display a name like this:

***********************
 *                     *
 *  Aureliano Buendia  *
 *                     *
 ***********************
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.