Skip to main content
Engineering LibreTexts

8: Specific Task Functions

  • Page ID
    10288
    • 8.1: Specific Task Functions
      Program Control functions which might have similar identifier names usually perform slightly different tasks in one program to another. Looking at the organizational chart or hierarchy chart for two companies, both might have a vice president of production, but producing automobiles is different than producing ice cream. Similar but different.
    • 8.2: Global vs Local Data Storage
      The concept of global and local data storage is usually tied to the concept of scope. Scope is the area of the program where an item (be it variable, constant, function, etc.) that has an identifier name is recognized. In our discussion we will use a variable and the place within a program where the variable is defined determines its scope
    • 8.3: Using a Header File for User Defined Specific Task Functions
      Most companies have certain tasks that are unique to their company. Collectively the programming staff may decide to build several functions and organize them into one or more user libraries. Specific task functions are often built using a testing shell program.
    • 8.4: Practice 7 Specific Task Functions