From: eglebbk AT phys DOT uva DOT nl (Evert Glebbeek) Newsgroups: comp.os.msdos.djgpp Subject: Re: NEWBIE Examples of programs Date: Sat, 01 Jul 2000 19:56:05 GMT Organization: Physics student, University of Amsterdam Lines: 36 Distribution: world Message-ID: <395e4a4a.13957654@news.wins.uva.nl> References: <8jj1nm$nr4$1 AT ctb-nnrp2 DOT saix DOT net> NNTP-Posting-Host: stol-117-159.uva.studentennet.nl X-Trace: info.wins.uva.nl 962481305 5171 145.98.117.159 (1 Jul 2000 19:55:05 GMT) X-Complaints-To: usenet AT science DOT uva DOT nl NNTP-Posting-Date: Sat, 1 Jul 2000 19:55:05 +0000 (UTC) X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Newsgroup: comp.os.msdos.djgpp From: "cornel" On Fri, 30 Jun 2000 22:08:08 +0200 >Hi everyone > >I'm new to programming, have purchased a c++ book read through it, work >through the examples, but now i want to know if anyone can help me to find >any tutorials or books to teach you how to start programming.Not examples of >the different styles of the language, but how to start from scratch with >real programs and explanations.Like if i want to create a program like a >game or application where do i start and where do i end.I've looked through >some source code but they don't tell you how they started with the project >they only give some vivid info. Well, the way I do it is usually just to start typing. I once made a small program that could draw maps of the stars. It started off as a simple program that set pixels on the screen, then I changed it so it would read what pixels to set from an array, then I changed it so I could save the array to disk, then I made it so I could change things in the array, then I changed it so I it would show me only part of the array... If you have a general idea of what you want, just start coding. It doesn't always produce pretty code and you sometimes have to trash something you wrote because you suddenly think of a much better way to get things done, but if you're just starting, IMHO, this is the best approach. Other (professional) programmers might disagree. There are some articles on game design at http://www-cs-students.stanford.edu/~amitp/gameprog.html that may be useful. Hope that helps a little, Evert Glebbeek