Help?

Posts 17 of 7 · Page 1 of 1
Help?
(Display a pattern) write a program that displays the following pattern in C++:


class op******
{
cout << "op is a ******";
}
I am on basics now, so I cant help you.
But if I was going to do it, I'd try to use the printf command and write each line individually like:

printf("----CCCC-----------+---------------------+")
printf("---C----------------+---------------------+")

etc etc, you get the idea...

Honestly I have no idea if that works...
Quote Originally Posted by Mokou-Sama View Post
I am on basics now, so I cant help you.
But if I was going to do it, I'd try to use the printf command and write each line individually like:

printf("----CCCC-----------+---------------------+")
printf("---C----------------+---------------------+")

etc etc, you get the idea...

Honestly I have no idea if that works...
haha yeah, I did this last year in my computer science class but I totally fucking forget I only like JS and do web development the other languages are like moon runes to me.
Quote Originally Posted by csgoskinsmarket View Post


haha yeah, I did this last year in my computer science class but I totally fucking forget I only like JS and do web development the other languages are like moon runes to me.
We're on the same boat. Except I only know how to code on VB and VB.net
Too lazy to write this but all you need is loops
Quote Originally Posted by Kodoku View Post
Too lazy to write this but all you need is loops
Help me please
Posts 17 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?