[try Beta version]
Not logged in

 
Operations and function

Oct 1, 2014 at 12:29pm
Are operations and function the same thing?
Or what are the difference?

Oct 1, 2014 at 1:58pm
I'm not exactly sure what you mean by "operations". Are you referring to operator overloading?
Oct 1, 2014 at 2:20pm
Oct 2, 2014 at 11:53am
Thanks, i am new and i am reading a material with contents below in bold

program.
To create operations, you write algorithms and implement them in a programming language. Because a data element
in a complex program usually has many operations, to separate operations from each other and to use them effectively
and in a convenient manner, you use functions to implement algorithms. After a brief introduction in Chapters 2 and
3, you will learn the details of functions in Chapter 6. Certain algorithms require that a program make decisions, a
9/29/2014 Cengage Learning eBook Print
http://vrle.go.galegroup.com/vrle/printdoc.do?sgHitCountType=&sort=&prodId=VRL&userGroupName=163f43f576c4fcc3%3A300e251c%3A148564… 19/23
P. 21
process called selection. Other algorithms might require certain statements to be repeated until certain conditions are
met, a process called repetition.
Oct 2, 2014 at 2:14pm
The word 'operation' is being used in a very abstract high-level way in this context.
Topic archived. No new replies allowed.