Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 02-11-2005, 12:38 PM   #11
punch999
The true Shadow President
 
punch999's Avatar

 
Join Date: Sep 2004
Location: Celebration, United States
Posts: 1,195
Default

i do qbasic but im willing to try again at learning cpp
punch999 is offline                         Send a private message to punch999
Reply With Quote
Old 02-11-2005, 03:02 PM   #12
Reup
10 GOSUB Abandonia
20 GOTO 10
 
Reup's Avatar

 
Join Date: Dec 2004
Location: Eindhoven, Netherlands
Posts: 1,508
Default

Quote:
Originally posted by chickenman@Nov 2 2005, 03:04 PM
Here is a little book i made a while ago: Getting started with C++
You can download it from my website: http://chicken-man.cjb.net/
Hey chickenman, you should make sure your code doesn't get screwed up by your spellingchecker. Almost every line in your code starts with a capital, even the includes... That'll give some compile errors I wager.
Reup is offline                         Send a private message to Reup
Reply With Quote
Old 02-11-2005, 03:24 PM   #13
Danny252
I have a custom title!

 
Join Date: Oct 2003
Location: Telford, England
Posts: 1,303
Default

Chickenman, you say ANY language, but now that someone mentions OpenGL, seems we've found something we can't get help with :P
__________________
I liked the old forum.. =/
Danny252 is offline                         Send a private message to Danny252
Reply With Quote
Old 02-11-2005, 03:33 PM   #14
chickenman
Hero Gamer

 
Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
Default

OpenGL is not a language it's a graphics engine
chickenman is offline                         Send a private message to chickenman
Reply With Quote
Old 02-11-2005, 04:02 PM   #15
Danny252
I have a custom title!

 
Join Date: Oct 2003
Location: Telford, England
Posts: 1,303
Default

Which just so happens to be avaliable in your best language.
The one you used to be stated as the 'uber master' of.
Ah, well, the tutorials always gave me more information than you... In fact, the only thing you did was give me links to tutorials on other sites...
__________________
I liked the old forum.. =/
Danny252 is offline                         Send a private message to Danny252
Reply With Quote
Old 02-11-2005, 06:02 PM   #16
swiss
who's not Swiss
 
swiss's Avatar

 
Join Date: Jun 2005
Location: Velen, Germany
Posts: 711
Default

hey don't be so rude ...

If chickenman wants to have a programming-help-squad, then I offer my help in any AppleScript questions ... k:

... well, if anyone except me ever uses AppleScript ... LOL
swiss is offline                         Send a private message to swiss
Reply With Quote
Old 02-11-2005, 06:41 PM   #17
Danny252
I have a custom title!

 
Join Date: Oct 2003
Location: Telford, England
Posts: 1,303
Default

I have a question for swiss... who is not swiss...
Is Applescript some sort of scripting language by.. apple?
__________________
I liked the old forum.. =/
Danny252 is offline                         Send a private message to Danny252
Reply With Quote
Old 02-11-2005, 07:01 PM   #18
swiss
who's not Swiss
 
swiss's Avatar

 
Join Date: Jun 2005
Location: Velen, Germany
Posts: 711
Default

Quote:
Originally posted by Danny252@Nov 2 2005, 09:41 PM
I have a question for swiss... who is not swiss...
Is Applescript some sort of scripting language by.. apple?
wow you are a professional .. how did you guess that ?



you can automate almost anything on Mac OS with AS and it's very powerful!
swiss is offline                         Send a private message to swiss
Reply With Quote
Old 03-11-2005, 08:30 AM   #19
chickenman
Hero Gamer

 
Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
Default

No comments on my book ?
chickenman is offline                         Send a private message to chickenman
Reply With Quote
Old 03-11-2005, 12:21 PM   #20
Nikson
Game Wizzard

 
Join Date: Oct 2005
Location: Cairns, Australia
Posts: 260
Default

Comments on your book:

It's aimed at someone who knows nothing about C++ programming, and yet you don't explain what an IDE is (or at least what the acronym stands for). You give two examples of compilers but no instructions on how to set them up.
A sentence like "if you dont know how to compile, read the compiler manual" does not belong in a tutorial book. This is meant to be a manual, so explain every step.
"Include <iostream> includes the input-output stream". Great. Now if newbies only knew what a stream is. You don't include a stream, you include a header file.
As for the namespace, since you don't explain its purpose, you shouldn't have it in there in the first place. (#include <iostream.h> is better than # include <iostream> and using namespace std
"return 0; note: this can only be used within the main function". Wrong. Any function declared as non-void must return something. This is redundant, as is the fact that you made your main() an int. It should have been void in this simplest of examples, saving you the requirement to explain return calls (which you didn't do). A return doesn't end a program, but only the current function. If said function happens to be main (and it's a simple program), then it will indeed finish and exit the program with the argument zero (i.e: exit(0) ).
Your reference mentions assigning values to- and printing variables, but not how to declare or initialize them.
"cin.ignore() - must be used after cin, discards the enter key from input". Must be used? Most text-oriented algorithms make good use of the /n character, removing it from a string is generally a bad idea.
You make brief, passing mentions of arrays, without due explanation.

Anyone who sees C++ for the first time and reads this, will walk away with more questions than answers.
Nikson is offline                         Send a private message to Nikson
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
To Abandonia Team Burger Meister Old Suggestions 4 08-10-2008 09:00 AM
Abandonia Cs Source Team? Evad Mêlée Island 18 08-07-2007 02:42 PM
Abandonia Game Making Team TheChosen Programming 259 01-01-2006 05:38 PM
Programming ultranewbie Old Suggestions 2 20-01-2005 08:22 AM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 12:39 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.