• Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram
Starby Four

Vibes|Music|Tech

  • Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram
  • Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram

No Widgets found in the Sidebar Alt!

  • Tech

    Inline Functions, References, & Reference Parameters–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    In C++, an empty parameter list is specified by writing either ‘void’ or nothing in parenthesis. Ex: (void) -or- () Inline Functions Inline Functions–C++ provides inline functions to help reduce function call overhead–especially for small functions. Placing the qualifier ‘inline‘ before a function’s return type in the function definition “advises” the compiler to generate a copy of the function’s code in place to avoid a function call. Note: Any change to an ‘inline’ function requires all clients of the function to be recompiled. This can be significant in some program development & maintenance situations. Tip: The ‘inline’ qualifier should be used only with small, frequently used functions. Using ‘inline’ functions…

    read more
    Aaron Comments Off on Inline Functions, References, & Reference Parameters–Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    What is Multi-Factor Authentication and Why is It Necessary?

    December 30, 2020

    Blockchain & Money: Session 9: Permissioned Systems by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 19, 2021

    Class Methods & Separating Interface From Implementation–C++ Notes (C Plus Plus Notes)

    May 26, 2021
  • Tech

    Function Call Stack & Activation Records–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    Function Call Stack & Activation Records Stacks are known as ‘last-in, first-out‘ (LIFO) data structures–the last item pushed (inserted) on the stack is the first item popped (removed) from the stack. The function call stack supports the function call/return mechanism, & the creation, maintenance and destruction of each called function’s automatic variables. Each time a function calls another function, a stack frame, or an activation record, is pushed onto the stack containing the return address that the called function needs to return to the calling function, and the function call’s automatic variables & parameters. The stack frame exists as long as the called function is active. When the called function…

    read more
    Aaron Comments Off on Function Call Stack & Activation Records–Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    Security Engineering Analysis Framework Notes…

    June 1, 2021

    Some Quick Notes On Python Syntax…

    May 24, 2021

    Blockchain & Money: Session 4: Blockchain Basics & Consensus by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 15, 2021
  • Tech

    Scope Rules–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    Scope Rules Unlike automatic variables, static local variables retain their values when the function in which they’re declared returns to its caller. An identifier declared outside any function or class has global namespace scope. Labels are the only identifiers with function scope. Labels can be used anywhere in the function in which they appear, but cannot be referenced outside the function body. (Labels are followed by a colon. ‘:’ ) Identifiers declared inside a block have local scope. Local scope begins at the identifiers declaration & ends at the terminating right brace (‘}’) of the block in which the identifier is declared. Identifiers in the parameter list of a function…

    read more
    Aaron Comments Off on Scope Rules–Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    The Visible Computer—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 5, 2021

    Blockchain & Money: Session 19: Primary Markets, ICOs, and Venture Capital, Part 1, by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 21, 2021

    Pointers–STRUCTURED PROGRAMMING Course Notes

    May 29, 2021
  • Tech

    Storage Classes–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    Storage Classes A storage class defines the scope (visibility) and life-time (existence) of variables and/or functions within a C++ program. C++ provides five storage-class specifiers: auto register extern mutable static An identifier’s storage class determines the period during which that identifier exists in memory. An identifier’s scope is where the identifier can be referenced in a program. And identifier’s linkage determines whether an identifier is known only in the source file where it’s declared, or across multiple files that are compiled then linked together. Note: Identifiers in C++ are the names assigned to variables and functions. The valid identifiers are declared using the alphabets from A to Z, a to…

    read more
    Aaron Comments Off on Storage Classes–Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    Classes: A Deeper Look, Part 1–STRUCTURED PROGRAMMING Course Notes

    May 31, 2021

    A Comment on Comments In Programming Languages…

    May 24, 2021

    Local Area Networking—NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 6, 2021
  • Tech

    Enumeration–Functions–STRUCTURED PROGRAMMING Course Notes

    May 27, 2021 /

    Enumeration Enumeration–an enumeration, introduced by the keyword ‘enum‘ and followed by a type name is a user-defined type. An enumeration is a set of named integer constants represented by identifiers. The values of these enumeration constants start at 0, unless specified otherwise, and increment by 1. A popular enumeration is: enum Months { Jan = 1, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC }; where: ‘enum‘ is the ‘keyword‘ ‘Months’ is the ‘identifier‘ ‘JAN’ thru ‘DEC’ are the ‘enumeration constant names‘ …which creates user-defined type ‘Months’ with enumeration constants representing the months of the year. The first value is explicitly specified to start at 1, so…

    read more
    Aaron Comments Off on Enumeration–Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    What is Remote Code Execution?

    June 2, 2021

    Pointers–STRUCTURED PROGRAMMING Course Notes

    May 29, 2021

    Blockchain & Money: Session 7: Technical Challenges by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 16, 2021
  • Tech

    Random Number Generation–Functions–STRUCTURED PROGRAMMING Course Notes

    May 27, 2021 /

    Random Number Generation rand(); a C++ Standard Library function that generates an unsigned integer between 0 and RAND_MAX (a symbolic constant defined in the <cstdlib> header file). The function prototype for the ‘rand’ function is in <cstdlib>. rand()%6 to produce integers specifically in the range 0 to 5, for a dice-rolling game, for example, we use the modulus operator(%). This is called scaling. The number 6 is called the “scaling factor”. We would then shift the range of numbers produced by adding 1 to our previous result. ex: (1 + rand() % 6 ) srand() the function ‘srand‘ takes an unsigned integer argument and seeds the ‘rand‘ function to produce…

    read more
    Aaron Comments Off on Random Number Generation–Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    Portable Computing—NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 8, 2021

    Pointers–STRUCTURED PROGRAMMING Course Notes

    May 29, 2021

    Managing The Network–Advanced IP Networking–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 16, 2021
  • Tech

    Functions–STRUCTURED PROGRAMMING Course Notes

    May 27, 2021 /

    Functions Experience has shown that the best way to develop & maintain a program is to construct it from small, simple pieces or components. This technique is called “divide & conquer”. Declare and use functions to facilitate the design, implementation, operation, and maintenance of large programs. Functions (aka methods, procedures, sub-routines) allow us to modularize a program by separating its tasks into self-contained units. We can use a combination of provided library functions or create out own functions, known as user-defined, or programmer-defined functions. The statements in function bodies are written only once but can be reused from perhaps several locations in a program and are hidden from other functions.…

    read more
    Aaron Comments Off on Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    Understanding Permissions: Notes: List of Terminal Commands

    May 20, 2021

    What is a ‘NOC’? What is a ‘SOC’? The Battle of ‘NOCs’ vs. ‘SOCs’…

    June 3, 2021

    Local Area Networking—NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 6, 2021
  • Tech

    Control Statements–STRUCTURED PROGRAMMING Course Notes

    May 27, 2021 /

    CONTROL STATEMENTS Theory & Principles of Structured Programming. These concepts presented here are crucial to building effective classes & manipulating objects. BEFORE writing a program to solve a problem, we must have a thorough understanding of the problem & a carefully planned approach to solving it. WHEN writing a program, we must also understand the types of building blocks that are available, & employ proven program construction techniques. An ALGORITHM is a procedure for solving a problem in terms of the actions to execute and the order in which to execute them. Specifying the order in which statements execute in a program is called PROGRAM CONTROL. Note: In addition to…

    read more
    Aaron Comments Off on Control Statements–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    Blockchain & Money: Session 17: Secondary Markets and Crypto-Exchanges, by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 21, 2021

    What is Attack Surface?

    June 2, 2021

    Windows OS Under the Hood–NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 10, 2021
  • Tech

    Data Members, ‘set’ Functions, & ‘get’ Functions–C++ Notes (C Plus Plus Notes)

    May 26, 2021 /

    Variables declared in a functions body are local variables, and can be used only from the point of their declaration in the function to the immediately following closing right brace (}). When a function terminates, the values of its local variables are lost. A local variable must be declared before it can be used in a function. A local variable cannot be accessed outside the function in which it’s declared. Data members normally are private. Variables or functions declared private are accessible only to member functions of the class in which they’re declared, or to friends of the class. When a program creates (instantiates) an object of a class, its…

    read more
    Aaron Comments Off on Data Members, ‘set’ Functions, & ‘get’ Functions–C++ Notes (C Plus Plus Notes)

    You May Also Like

    Blockchain & Money: Session 5: Blockchain Basics & Transactions, UTXO, & Script Code by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 15, 2021

    Security + Course Notes

    June 1, 2021

    Learning To Program Is Hard…

    December 30, 2020
  • Tech

    Defining a Member Function With a Parameter-–C++ Notes (C Plus Plus Notes)

    May 26, 2021 /

    Defining a Member Function With a Parameter A member function can require one or more parameters that represent additional data it needs to perform its task. A function call will supply arguments for each parameter. A member function is called by following the object name with a dot operator (.), the function name, and a set of parenthesis containing the function’s arguments. A parameter list may contain any number of parameters, including none at all (represented by empty parentheses) to indicate that a function does not require any parameters. The number and types of arguments in a function call must match the number & types of the parameter list.

    read more
    Aaron Comments Off on Defining a Member Function With a Parameter-–C++ Notes (C Plus Plus Notes)

    You May Also Like

    Moving Around (pushd & popd): Notes: List of Terminal Commands

    May 20, 2021

    Blockchain & Money: Session 4: Blockchain Basics & Consensus by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 15, 2021

    Declarations, Prototypes, Definitions, & Implementations–C++ Notes (C Plus Plus Notes)

    May 26, 2021
 Older Posts
Newer Posts 

Archives

Categories

More

About

Documentation

Vim

Recent Posts

  • Metaverse security is a thing because security is still a thing…
  • What is a password manager and why do you need one…
  • What Is The Metaverse?
  • FAA Plans Warnings on 5G…What 5G Means for the FAA, FCC and Air-safety…
  • Blockchain & Money: Session 18: , by M.I.T. Sloan School of Management with Professor Gary Gensler

Tags

2020 A+ Bitcoin Blockchain C++ Careers CLI Cloud Coding CompTIA CompTIA A+ CompTIA Network+ Course Notes Covid-19 Crypto Cryptography Cyberattack Cybersecurity Data Structures Definitions Economy Essential Music Functions Learning Life M.I.T. Methods Mobile Music Music Video Networking News Notes NYC Peering Programming Ruby Security Structured Programming TCP/IP Tech Terminal The Internet Video Wireless Networking
© 2025 Starby Four.
Ashe Theme by WP Royal.