Talk About Network

Google





Programming > C - C++ Learning > Re: Simple Codi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 4098 of 4400
Post > Topic >>

Re: Simple Coding Challenges

by ed.norris.1@[EMAIL PROTECTED] Apr 8, 2008 at 06:06 PM

On Apr 8, 2:11 pm, Richard Heathfield <r...@[EMAIL PROTECTED]
> wrote:
> Night_L...@[EMAIL PROTECTED]
 said:
>
> > Dear All,
>
> > I am a C++ Beginner and, having read and studied (and sucessfully made
> > it through the "Hello World" et. al. stage), I wanted to try my hand
> > at putting it all into practice. To give you an idea of the concepts
> > that I would like to familiarize myself with: I have just finished
> > reading N.Josuttis' book "Object Oriented Programming in C++", which
> > by the way I found a very good read.
>
> > My trouble is that any idea and/or challenge I can come up with is
> > usually too hard, unfocused or requires system-specific code, which is
> > not what I want to 'train', as it were.
>
> > I would hence like to ask you to suggest some places to find some
> > simple code challenges and/or micro-projects for beginners.
>
> Word search puzzle. Input: list of words to appear in puzzle grid.
> Processing: obvious to describe, not so easy to do! Output: text file
> containing puzzle grid.
>
> Spell checker. Input: dictionary of 0 or more words, text file.
Processing:
> look up each word of text file in the dictionary. If there, great. Else,
> ask whether the dictionary should be updated or the text file corrected.
> Output: (possibly updated) dictionary, (possibly updated) text file.
>
> --
> Richard Heathfield <http://www.cpax.org.uk>
> Email: -http://www.
+rjh@[EMAIL PROTECTED]
> Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
> "Usenet is a strange place" - dmr 29 July 1999

For more pure C++ coding, I recommend the exercises in Stroustrup's C+
+.

How about something that gets you more familiar with a particular OS
API (and its do***entation)?
- Recursively list files given a starting directory
- Create a process that responds to the Windows service control
manager start and stop requests
- Open a socket and read / write data (can use Wireshark to observe
and/or netcat to open a listener ****t and provide output)

Also, interacting with a third party library can be useful in terms of
reading and understanding do***entation, IDE settings for the
compilation and linking process, and learning how to adapt or ****m
your design for an interface created by others.
- zlib - zip a specified file or directory

Hope this was useful
 




 8 Posts in Topic:
[C++] Simple Coding Challenges
Night_Lynx@[EMAIL PROTECT  2008-04-08 08:14:52 
Re: [C++] Simple Coding Challenges
Richard Heathfield <rj  2008-04-08 18:11:16 
Re: Simple Coding Challenges
ed.norris.1@[EMAIL PROTEC  2008-04-08 18:06:49 
Re: Simple Coding Challenges
Richard Heathfield <rj  2008-04-09 01:42:04 
Re: Simple Coding Challenges
ed.norris.1@[EMAIL PROTEC  2008-04-08 19:49:25 
Re: Simple Coding Challenges
Richard Heathfield <rj  2008-04-09 02:57:25 
Re: Simple Coding Challenges
Francis Glassborow <fr  2008-04-09 10:14:45 
Re: [C++] Simple Coding Challenges
Bart van Ingen Schenau &l  2008-04-09 16:16:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 13:14:22 PST 2009.