Top Comments
All Comments (40)
-
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
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.
Archlvt 2 years ago 39
This is very useful thanks.
Brudof 2 years ago 17