I assume your friend thinks youâre batty because of your beverage opinions and not for other reasons beyond my expertise. Given that, Iâd have to side with your Perrier-drinking pal, but also assure you that it is a common misconception that carbonation pulls calcium from your bones.
Functions [edit]. A function, which can also be referred to as subroutine, procedure, subprogram or even method, carries out tasks defined by a sequence of statements called a statement block that need only be written once and called by a program as many times as needed to carry out the same task.
A brief review: 1  Each C++ program must have a function called main(). 2  When the program is run, the function main() is executed. 3  The code in main() determines what your program does. 4  No matter how much code you have written, if main() does nothing, your program does nothing.5  tell() tells the user about his choices. brief review: 1  Each C++ program must have a function called main(). 2  When the program is run, the function main() is executed. 3  The code in main() determines what your program does. 4  tell() tells the user about his choices. 5  choose() accepts the user's choice, entered at the keyboard. 6  act() takes an action, depending on the user's choice.