The Fifth Continent

Menu

Skip to content
  • Home
  • About this Blog
  • Contact Me

Static Variables

Posted August 21, 2024 by Richard

Static variables are variables that are not tied to a particular instance, rather they are tied to the class. This means all instances share a copy of static member variables.

Continue reading →

Posted in: C++ | Leave a comment

Friend functions and classes

Posted August 21, 2024 by Richard

Friend functions and classes are external functions or classes which are granted access to all members of a class. To my mind, this breaks encapsulation and shouldn’t be done. Maybe that’s just my years of Java speaking. Maybe I just need to get used tot eh C++ way of doing things.

Continue reading →

Posted in: C++ | Leave a comment
  • August 2024
    M T W T F S S
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
        Sep »
  • Recently Posted

    • Building a Qt Project in Java using QtJambi.
    • Git Reset and Revert et al.
    • Ignoring Files with .gitignore
    • Rebasing
    • Git Tags
    • Merging Branches
    • Cloning Git Repositories
    • Git Branches
    • Basic Git Operations
    • Low Level Git
  • Categories

    • C++ (41)
    • CMake (4)
    • General (1)
    • git (9)
    • Uncategorized (1)
  • 4,365 spam blocked by Akismet (opens in a new tab)
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Powered by WordPress & Portfolio.