Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What should I do?

Name: Anonymous 2006-02-08 16:16

I take an independent study class in C++ (before you cry foul, the alternative was VB6,) and I am unfortunately at a loss for what to program. Since I design the course myself, I don't really have any guidance on this.

So /prog/, what do you suggest I make?

Name: Anonymous 2006-02-11 14:11

Yes, object-oriented Hello World:

- Create a GeneralMessage abstract class
- Create a HumanMessage abstract class which inherits from GeneralMessage
- Create a SimpleHumanMessage abstract class which inherits from HumanMessage
- Create a WriteGreeting interface
- Create a Greeter class implementing WriteGreeting which inherits from SimpleHumanMessage
- Create a HelloGreeter class which inherits from Greeter
- Create a GreeterFactory factory class for Greeters

- Create a GreeterFactory object
- Use it to generate a WriteGreeting object
- Create a low-level output object of some kind
- Use it to create a bufferer object of some kind
- Use it to create a high-level object of some kind
- Use the GetHelloWorld method to get a Hello World message passing this last object to write it to the standard output

Oh, wait, you said C++ not Java, oops.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List