Coding Tidbit

Software articles that can be consumed quickly

  • Home
  • About
  • Facebook
  • LinkedIn
  • Twitter
  • Instagram
  • June 10, 2022

    When your coworker requests to use new language feature

  • June 8, 2022

    Antimalware Scanning in your Application

    Looking to incorporate Antimalware scanning on Windows? Look no further than this article. C++ and C# code included. https://www.codeproject.com/Articles/5331133/Bring-Antimalware-Scanning-into-your-Application

  • April 1, 2022

    [April Fool] Const Correctness Taken Out of C++!

    Hi guys, please take note of a major development in C++ world. Read it at the link below. https://shaovoon.github.io/article/const.html

  • January 23, 2022

    Windows Toast Notification

    Looking to implement Windows Toast Notification for your C++ application? Want to know how I fixed memory leaks in WinToast (updated 15 Feb 2022)? Look no further than this article.

  • December 6, 2021

    Quiz: Guess What These x86 Assembly Instructions Execute

    Interested to find out what these assembly instructions with the same source and destination operands do? XOR EAX, EAX TEST EBX, EBX MOV EDI, EDI

  • December 6, 2021

    Find GDI Leaks With Windows Debugger

    Come in to read my article Find GDI Leaks With Windows Debugger at CodeProject

  • April 6, 2021

    Deleaker detects resource leaks in StackOverflow answer

    Recently, I need to capture the mouse cursor in my homebrew screen capture application, so my search sent me to StackOverflow’s Capture screen shot with mouse cursor. Out of curiosity, I ran Deleaker on it and it finds 2 HBITMAP leaks with every capture. My application captures mouse cursor 30 times per second, so the […]

  • April 5, 2021

    Anti-Pattern: Enum as Array Index with No Bound Check

    Recently, I encountered program crashes because of unscoped enum as array index pattern once in the workplace and another in an open source library where I added another item in the enum. Evidently, this anti-pattern is very popular among C++ developers. Open source code using Enum as Array Index pattern without bound check in its […]

  • April 5, 2021

    Put sleep() to make more money from HFT. And Lock-free vs Block-free

    “Isn’t April Fools over?” the very first thought running through your mind after glancing at the title. Rest assured, this is not a trolling post to make a fool out of you. This year’s April Fool post is here, in case you missed the once-in-a-lifetime C++ joke of its kind. This article is about slowing […]

  • April 1, 2021

    C++23: -> and :: to be replaced by . operator

    In the biggest change to C++ syntax, -> and :: operators are to be replaced by . operator in the upcoming C++23 AF00L proposal. The rationale behind this proposal is there can be no confusion (as to which operator to use). The :: operator is not only used in scope resolution and also as class-to-static_member. […]

1 2 3 … 8
Next Page→

Blog at WordPress.com.

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
 

Loading Comments...
 

    • Follow Following
      • Coding Tidbit
      • Already have a WordPress.com account? Log in now.
      • Coding Tidbit
      • Edit Site
      • Follow Following
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar