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:
Anonymous2006-02-08 16:25
"A game" is the thing most people think of first.
How about just coding whatever interesting thing you see in your other classes? I used to do that all the time whenever something fun came up in maths or algorithms. It's great because it improves your coding skills while at the same time improving your understanding of whatever it is you're coding.
If you still can't think of anything, a Mandelbrot set viewer is always a nice way to get to know a language.
Name:
Anonymous2006-02-08 16:31
Hack up a feed reader with Atom 1.0 support and maybe some RSSes. Use libraries for XML, Windows and HTTP.
If you're a wuss and want to start easy, whip up a simple file archiving tool (akin to tar, but without all the bizarre one-off support), then tack compression onto it. Not too hard and you learn some basics about file system considerations (as that's what your tarball is at a fundamental level).
>>1
well if you're THAT lost try the usual "hello world" program.
Name:
Anonymous2006-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
Today, a young man on /prog/ realized that all posts are merely energy condensed to a slow vibration – that we are all one consciousness experiencing itself subjectively. There's no such thing as death, life is only a dream, and we're the imagination of ourselves.