PDA

View Full Version : Abandonia Programming Team


chickenman
01-11-2005, 07:09 PM
Would you like to become a good programmer?
Then join the Abandonia Programming Team.

no matter what language you program in come and join, this is a place for help with all your programming problems, we will also help people new to programming learn.

So come and join and be part of The Abandonia Programming Team :ok:

chickenman
02-11-2005, 08:40 AM
Well is any one going to join ?

Nikson
02-11-2005, 09:01 AM
Isn't the whole forum about programming?
What's the purpose of this topic?

chickenman
02-11-2005, 09:50 AM
To help people to learn how to program, and to help people who can already program become better at programming.

Nikson
02-11-2005, 09:52 AM
Again, that's the purpose of the forum. What's this topic for?

chickenman
02-11-2005, 09:56 AM
What I said, just in here people will get some REAL help not just a pile of tutorials.

Nikson
02-11-2005, 11:17 AM
The tutorials aren't supposed to be "helping" people, they're just a test for those who want to see just how well they can code in their chosen language.
If anyone has a problem or needs some help, all they have to do is make a topic in this forum, and anyone with the knowledge to help, will.

Having a topic for a problem makes much more sense than a topic for all problems, since the latter would fill up with posts about different things and everyone would soon lose track of the current issue(s).

But ok, let's try this anyway.
I've got an OpenGL project, to model and animate a humanoid robot. It needs several features, one of which is keyframed animation. That means that the user can move the robot's joints into a certain position, push a key to save the position, then move the robot in a different position then push the same key to save the new position.
Then with the push of a different key, the robot must perform a tweened animation between the first and second keyframe.
Can you help?

EDIT:
Here's the cpp file :ok:

chickenman
02-11-2005, 11:25 AM
:eeeeeh: I don't do openGL :not_ok:

chickenman
02-11-2005, 12: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/

(Note: you may want to take a pop-up blocker with you :( )

Nikson
02-11-2005, 12:15 PM
no matter what language you program in come and join, this is a place for help with all your programming problems

Since you're currently the only member of the Abandonia Programming Team, I expect you to be true to your promises, and provide help with my programming problems :P



My point is proven. If someone needs help, they can make their own topic and someone who is able to assist may or may not do so.
Why would people check this specific topic, just to see if anybody has issues that they can solve?

punch999
02-11-2005, 12:38 PM
i do qbasic but im willing to try again at learning cpp

Reup
02-11-2005, 03:02 PM
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.

Danny252
02-11-2005, 03:24 PM
Chickenman, you say ANY language, but now that someone mentions OpenGL, seems we've found something we can't get help with :P

chickenman
02-11-2005, 03:33 PM
OpenGL is not a language it's a graphics engine :)

Danny252
02-11-2005, 04:02 PM
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...

swiss
02-11-2005, 06:02 PM
hey don't be so rude ...

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

... well, if anyone except me ever uses AppleScript ... LOL

Danny252
02-11-2005, 06:41 PM
I have a question for swiss... who is not swiss...
Is Applescript some sort of scripting language by.. apple?

swiss
02-11-2005, 07:01 PM
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 ?

:D :D :D

you can automate almost anything on Mac OS with AS and it's very powerful!

chickenman
03-11-2005, 08:30 AM
No comments on my book ?

Nikson
03-11-2005, 12:21 PM
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.

chickenman
03-11-2005, 12:57 PM
My book is for only the very basic C++, and it's not complete yet, I'll add an FAQ to it as well :)

A. J. Raffles
03-11-2005, 03:03 PM
Originally posted by chickenman@Nov 3 2005, 01:57 PM
My book is for only the very basic C++, and it's not complete yet, I'll add an FAQ to it as well :)
Well, as somebody who knows nothing whatsoever about coding I'm not entirely sure whether I'd be the right sort of test subject for your "book", but I'm afraid that at this stage I find it confusing. To me it feels a bit like reading a dictionary of a language whose grammar I don't know. Now, as I've said, I may not be the sort of reader you had in mind, but I'd like something like a general "grammar" of C++, that explains to me how it works before I get the explanations of what the individual commands do. Or does a programming language really just consist of a bunch of commands that you have to learn by heart?:unsure:

NrmMyth
03-11-2005, 06:45 PM
Originally posted by chickenman@Nov 1 2005, 10:09 PM
Would you like to become a good programmer?
Then join the Abandonia Programming Team.

no matter what language you program in come and join, this is a place for help with all your programming problems, we will also help people new to programming learn.

So come and join and be part of The Abandonia Programming Team :ok:
:roflol: Uncle Sam needs you!

A. J. Raffles
03-11-2005, 07:26 PM
Uncle James, you mean.;)

Fruit Pie Jones
03-11-2005, 07:42 PM
I agree with Raffles; what you've written tells how to write a simple program...and not much else. An effective tutorial should tell a lot more about why things work and give at least a basic explanation of the mechanisms beneath them - e. g., what are classes, objects, functions, variables, etc. What you've got could function as a sort of introduction to a more comprehensive tutorial, but on its own I don't think it accomplishes much.

Reup
04-11-2005, 01:34 PM
Originally posted by chickenman@Nov 3 2005, 11:30 AM
No comments on my book ?
It's not really a book. It's 3 pages. Better take a look at Bruce Eckels books (http://mindview.net/Books/TICPP/ThinkingInCPP2e.html) to see a real intro to C++. Complete and in-depth. I wouldn't want to try and top that effort.

If you're serious about the C++ book though, take a look at a technical writing tutorial (http://psdam.mit.edu/rise/tutorials/writing/technical-writing.html) or take a class in it. Then, become a REAL C++ übermeister or whatever. Then start with a few tutorials on a community site and get some feedback on your attempts. After that, write a book. Don't write it while your obviously still grappling with the beginnings of a language.

chickenman
05-11-2005, 03:18 PM
I know C++ up to OOP, although I don't understand it all I try my best LOL, I'll update the book with some more detail and a FAQ as soon as i get a bit of time, I've been having some fun playing with Java :P

STFM
07-11-2005, 05:02 AM
C++ up to OOP is plain old C ;)

chickenman
07-11-2005, 07:04 AM
Well I can do a bit of OOP LOL

Nikson
07-11-2005, 08:53 AM
Can you create new classes derived from existing classes? :)