Skip to content

Max's Blog

  • Home
  • About
Max's Blog

Category: Development

May 1, 2018 max-sperling

Code documentation (Doxygen)

General Always document large software projects, so other programmers can understand your code. Consider using tools like Javadoc or Doxygen

Continue reading
February 22, 2018 max-sperling

When to use which cast (C++)

Types Type Area Risk static_cast – Converts fundamental types– Non-const to const– Down-casts (dangerous) Medium dynamic_cast – Down- and side-casts

Continue reading
October 29, 2017 max-sperling

Unit testing series – Test with Stub (Part 4)

The second szenario is using a stub. Stub Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a

Continue reading
July 23, 2017 max-sperling

Unit testing series – Test without double (Part 3)

The first test szenario isn’t using a double. Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a

Continue reading
July 6, 2017 max-sperling

Cyclic references (C++)

Problem The following code shows the problem of a cyclic reference with shared pointers. When leaving the main function the

Continue reading
June 6, 2017 max-sperling

Function pointer vs. std::function vs Function template

Showcase Code ▼ Compiler ▼ – Tool: godbolt.org – Compiler: x86-64 Clang 16.0.0 – Args: -std=c++20 – Output: Intel asm

Continue reading
June 3, 2017 max-sperling

Data structures – Overview (libstdc++)

The “C++ standard library” isn’t defining implementation details of the data structures, it just defines their behavior. The libstdc++ is

Continue reading
April 28, 2017 max-sperling

Smart Pointer (C++)

Especially in older C++ programms it was very common to work with a lot of raw pointer (legacy pointer). That

Continue reading

Posts navigation

«Previous Posts 1 … 4 5 6

Categories

  • Other (17)
    • Games (11)
    • Nutrition (4)
    • Traveling (2)
  • Science (17)
    • Chemistry (3)
    • Linguistics (2)
    • Math (10)
    • Physics (2)
  • Sport (71)
    • Climbing (5)
    • Diving (20)
    • Fitness (7)
    • Martial arts (33)
      • Ground fighting (9)
      • Mixed martial arts (4)
      • Stand-up fighting (11)
    • Running (1)
    • Surfing (2)
    • Swimming (1)
    • Volleyball (2)
  • Technology (266)
    • Computer (236)
      • Architecture & Design (15)
      • Artificial intelligence (3)
      • Audio & Video (11)
      • Building & Reversing (15)
        • CMake (2)
      • Computational complexity (3)
      • Computer architecture (5)
      • Debugging & Memory (24)
      • Development (58)
        • CI/CD (1)
        • Programming (48)
          • Concurrency (5)
          • Data structures (12)
          • Pointers & References (7)
        • Scripting (3)
        • Testing (6)
      • Development process (5)
      • Hacking & Security (17)
      • Hardware & Protocols (8)
      • Networking (11)
      • Operating system (18)
        • Linux (11)
        • Windows (7)
      • Regular expression (2)
      • Tool configuration (5)
      • Version control (22)
      • Virtualization (7)
      • Web (27)
    • Electrics (9)
    • Mechanics (15)
    • Medicine (2)
    • Photography (4)
WordPress Theme: Wellington by ThemeZee.