Need Help! Beginning program

Hi yáll,

I just started a c++ programing class and I am having a problem. We had a in class program to write and it is due today but i'm stuck. The professor says everything is in the book but the damn bookstore has mine o hold. I need to create this:
**************
* *
* Hello, Ian *
* *
**************
However, I cant use loops. You can do it with just 5 simple cout statements, with all the text in double quotes apparently, Thanks!
?
1
2
3
4
5
cout << "**************" << endl;
cout << "* *" << endl;
cout << "* Hello, Ian *" << endl;
cout << "* *" << endl;
cout << "**************" << endl;
Thanks coder777
You should be able to google something as simple as this. You better step up your game if you intend to pass. Find someone in class to borrow/share a book.
coder777, you're being too literal. I'm sure he meant this:

1
2
3
4
5
cout << "**************" << endl;
cout << "*            *" << endl;
cout << "* Hello, Ian *" << endl;
cout << "*            *" << endl;
cout << "**************" << endl;
Tried to google it only showed loops. I did like 2 yrs of java and know how to do loops, array and shit its just c++ gets me confused
Topic archived. No new replies allowed.