• 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

    Function Templates–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    Function Templates Overloaded functions typically perform similar operations that involve different program logic on different data types. If the program logic & operations are identical for each data type, overloading may be performed more compactly & conveniently using function templates. Given the argument types provided in calls to a function template, C++ automatically generates separate function template specializations to handle each type of call appropriately. All function template definitions begin with the ‘template‘ keyword followed by a template parameter list to the function template enclosed in angle brackets ( <> ). The formal type parameters are placeholders for fundamental types or user-defined types. These placeholders are used to specify the…

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

    You May Also Like

    Understanding Partitioning—Implementing Mass Storage–NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 9, 2021

    Linked In, Microsoft, GitHub Offer Pandemic Relief through Online Education Training Courses & Certification…

    December 30, 2020

    Ruby Programming Language Notes

    May 17, 2021
  • Tech

    Function Overloading–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    Function Overloading C++ enables several functions fo the same name to be defined, as long as these functions have different sets of parameters (a.k.a.–different signatures). This capability is called function overloading. When an overloaded function is called, the C++ compiler selects the proper function by examining the number, types, and order of the arguments in the call. Overloaded functions are distinguished by their signatures (function name & parameter types). The compiler encodes each function identifier with the number & types of its parameters to enable type-safe linkage. Type-safe linage ensures that the proper overloaded function is called and that the types of the arguments conform to the types of the…

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

    You May Also Like

    Protected: What is Equinix? And Why Are They So Important??

    March 23, 2021

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

    May 10, 2021

    What Is The Metaverse?

    October 31, 2021
  • Tech

    Unary Scope Resolution Operator–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    Unary Scope Resolution Operator C++ provides the unary scope resolution operator ( :: ) to access a global variable when a local variable of the same name is in scope. This makes it possible to declare local & global variables of the same name. The unary scope resolution operator cannot be used to access a local variable of the same name in an outer block. A global variable can be accessed directly without the unary scope resolution operator if the name of the global variable is NOT the same as that of a local variable in scope. Tip: Always using the unary scope resolution operator ( :: ) to refer…

    read more
    Aaron Comments Off on Unary Scope Resolution Operator–Functions–STRUCTURED PROGRAMMING Course Notes

    You May Also Like

    What Is The Metaverse?

    October 31, 2021

    ‘Kings of Leon’ Will Be the First Band to Release an Album as an NFT; Making it a Digital Collector’s Item

    March 4, 2021

    Blockchain & Money: Session 21: Post Trade Clearing, Settlement, and Processing, by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 21, 2021
  • Tech

    Default Arguments–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021 /

    Default Arguments When a function is called repeatedly with the same arguments for a particular parameter, you can specify that such a parameter has a default argument. (default value to be passed to that parameter). When a program omits an argument for a parameter with a default argument, the compiler inserts the default value of that argument to be passed to the function call. Default arguments must be the rightmost (trailing) arguments in a function’s parameter list. Default arguments are typically specified in the function prototype. Note: Using default arguments can simplify writing function calls. However, some programmers feel that explicitly specifying all arguments is clearer. Note: If the default…

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

    You May Also Like

    Classes & Objects–C++ Notes (C Plus Plus Notes)

    May 26, 2021

    Storage Classes–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021

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

    May 14, 2021
  • 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

    Functions, & O.O.P.–C++ Notes (C Plus Plus Notes)

    May 25, 2021

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

    May 15, 2021

    Portable Computing Security & More–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 11, 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

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

    May 6, 2021

    Building a P.C.—NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 9, 2021

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

    May 31, 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

    Modern Ethernet–The Physical Network–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 11, 2021

    What is Remote Code Execution?

    June 2, 2021

    Function Overloading–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 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

    Default Arguments–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021

    Arch Linux/Slackware Linux Install Notes

    June 1, 2021

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

    May 8, 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

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

    April 21, 2021

    Ethernet Basics–The Physical Network–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 11, 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

    Installing a Physical Network–The Physical Network–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 12, 2021

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

    April 15, 2021

    Sorting &Swapping Elements, & Bubble Sort Algorithms!!! [Ruby Programming Language Notes]

    May 19, 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.