C++ Console Lesson 12: Basic Functions

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
30,258
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 4, 2009

More at http://xoax.net
This C++ tutorial shows how to use and to create and call simple functions in C++.

Please submit all questions to our forum:
http://xoax.net/forum/

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • Programming languages may be different, but the logic behind them is always the same. Once you've learned one language, some of the skill you possess is transferrable when learning other languages since you can learn with the "mind" of a programmer. You've already learned how to think like a robot, and thinking like a robot will make other languages easier to grasp.

    Hope that makes sense to you lol. In short, you've "learned how to learn" already, so things become familiar.

  • This is very useful thanks.

see all

All Comments (40)

Sign In or Sign Up now to post a comment!
  • thaks very much...first video i found that actually explains functions.

  • @Archlvt But it depends of the language level, i started in C++ continued in pascal, and then the assembler, c++ crossing to pascal was yeasy to grasp cuz they are similar (dont mean the quality ) in syntax, but the assembly is the other coffee :)

  • Napoleon Dynamite?

  • @iiperento functions are block of statements that are intended to process data and return result...note that functions always return.they are declared with specific data type int fun();

    but when we declare as void fun(); then this is a block of data that are used to execute statements...they are like sub procedures in vb

  • @iTwistar Yes sir i re-read other tutorials too and now i see i can think way better for the program what to do if i have just few functions, making it easyer and yeah as you said more organized. Functions was just very new and couldnt understand them well at the begining but now i see they worth the writing even in the most lame programs! Than you

  • @iiperento its easier to read your code, also makes it more organized. it's kind of like putting in comments in your code. when building more complex programs, it is easier to plan out what each function will do and the combine all the functions together to make a working program. read on the benefits of object oriented programming. although making functions is not the same as object oriented programming, the benefits are similar.

    hope that made sense :)

  • Functions is very new to me and i cannot understand for what exactly they can be used in any decent program, please someone to take time and answer me whit some good explanation. Thank you

  • Why are we using void main instead of int main? Apparantly, void main is "illegal" to most programmers since it doesn't need a return value...

  • can someone please explain to me step by step the code on 2:12 ?

    its working perfectly but i honestly dont understand it.

  • @amisner2k fool

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more