1. ## Functions

Can someone please help me with functions by explaining what they are and how to create them (with the prototype and everything)

Thanks

I also think you're "doing homework by asking someone else to write it for you", so if it's a homework assignment to explain funcitons, I'm not really here to help you.

--
Mats

3. The mathematical concept of a function expresses the intuitive idea of deterministic dependence between two quantities, one of which is viewed as primary (the independent variable, argument of the function, or its "input") and the other as secondary (the value of the function, or "output"). A function then is a way to associate a unique output for each input of a specified type, for example, a real number or an element of a given set. This definition covers most elementary functions, maps between algebraic structures, such as groups, and between geometric objects, such as manifolds. --Wikipedia

In semantics, prototypes or prototypical instances combine the most representative attributes of a category. --Wikipedia

4. First off im not doing my homework.
1. It is summer
2. I don't take a class inwhich I need to ask losers like you for help.
3. This message bord is terdy bc everytime I ask a question all of the fruits on the message board say I am doing homework.

GET A LIFE!!!!!!!!!

Why do you come here and expect a stranger to write another beginner's tutorial specifically tailored for you if there are plenty around? And getting upset if not handed what you expect - isn't it a bit egoistic?

Google, and come back with more specific questions.

When I looked at the threads you have started, you haven't been told not once to do your own homework (except here). You are building a reputation of asking awfully general questions, though, for which the correct answer is to refer you to Google, tutorials and manuals.

Unless you go by some other name too.

6. A little effort goes a long way. With just a bit of research, you can find the answer to your questions. Try the FAQ, the Tutorials page, or even google to see if you can find the answer. It isn't that you are doing homework, it is that it doesn't seem like you are willing to put in any effort to find a solution yourself. If you have searched and are still confused, then at least you had put some effort in.

7. Originally Posted by MaGaIn
First off im not doing my homework.
That's great.

Originally Posted by MaGaIn
1. It is summer
Maybe you were a moron during the regular year and you're taking summer courses. It happens.

Originally Posted by MaGaIn
2. I don't take a class inwhich I need to ask losers like you for help.
Apparently you do if you can't read a tutorial on what a function is. This is one of the easiest concepts of C++. It only gets harder for awhile, and you need to be able to research things on your own. I think that was the point that others were trying to bring up.

Originally Posted by MaGaIn
3. This message bord is terdy bc everytime I ask a question all of the fruits on the message board say I am doing homework.
And what are you actually doing? You want us to believe you're so motivated to learn C++ over the summer on your own time, but you can't be bothered to STW or RTM? Think that through.

There's a lot more to programming than just knowing the basic concepts. It's also about learning how to learn. You have to be able to solve challenges you've never seen before, and learn new things on the fly. While the message board is good for asking for help, if you're using it like a personal tutor for every beginner concept, you don't have the researching skills of a good programmer.

Originally Posted by MaGaIn
GET A LIFE!!!!!!!!!
u r 2 mean.