How Not To Code

C++/C# bad practices: learn how to make a good code by bad example

Skip to content
  • Home
  • Bug of the month
  • Free resources
  • How to use PVS-Studio for Free
  • About
Search

Miranda

Miranda IM

17.03.201717.03.2017 / hownot2code / Leave a comment

An error in the formatting string
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Google
  • Tumblr
  • Reddit
  • Email
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Miranda NG

12.03.201723.03.2017 / hownot2code / Leave a comment

Miranda_ng_logo_(with_shadow).svg

Inattentiveness
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Google
  • Tumblr
  • Reddit
  • Email
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Why incorrect code works

08.07.201622.09.2017 / hownot2code / Leave a comment

This bug was found in Miranda NG’s project. The code contains an error that analyzer diagnoses in the following way: V502 Perhaps the ‘?:’ operator works in a different way than was expected. The ‘?:’ operator has a lower priority than the ‘|’ operator.. Continue reading →

Share with:

  • Twitter
  • Facebook
  • Google
  • Tumblr
  • Reddit
  • Email
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Categories

  • 64-bit issues
  • Development of 64-bit C/C++ applications
  • Bugs in C# projects
  • Bugs in C/C++ projects
  • C# bugs of the month
  • C/C++ bugs of the month
  • Quiz
  • Tips and tricks
  • 42 recommendations about coding in C++

Check your program and find bugs

Download PVS-Studio

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 254 other followers

Recent Posts

  • PVS-Studio: the Additional Insurance of the Medical Software
  • RT-Thread
  • Chromium
  • QtCreator
  • A first look at RPG: turns out it’s not only Role-Playing Games

Tags

64 bit 64bit Apache array Bug of the month bugs Bugs in C# projects C# C# bugs of the month C++ C++bugs ChakraCore cheat sheet c language clanguage code quality coding compiler coreclr cpp cppbugs cprogramming CryEngine CryEngine V Csharp development error evil freebsd fun function gamedev games grub haiku java KDE4 learning libreoffice linux macro memory memset microsoft Miranda Mono notepad++ nullptr OpenMP opensource optimization programming programming language PVS-Studio python Quiz ReactOS security SharpDevelop software SourceSDK space static code analysis structure technology Tizen TortoiseGIT toyota tutorial type unix VirtualBox visualstudio xamarin xenko

Instagram

Get ready to face bugs! 👀🐞🐞🐞🐞🐞🐞🐞 Download PVS-Studio - https://www.viva64.com/en/pvs-studio-download/?win #bugs #programming #code #coding #build
#pvsstudio #programming #Marketing #summer #cpp #blonde PVS-Studio team works for you even in the heat. Download and try - https://www.viva64.com/en/pvs-studio-download/?win
What stage are you at❓❓❓ #programming #coding #stage #programmer #developer
Be like Bill and dow­nload this tool 👇 https://www.viva64.c­om/en/pvs-studio-dow­nload/?win #programming #coding #staticcodeanalysis #codequality
Night is for dreams😪, not for #bugs! Pvs-Studio will help! #programming #cpp #csharp #dev #developer 👍 Download - https://www.viva64.c­om/en/pvs-studio-dow­nload/?win
😜But now save the code from bugs🙅 #programmingfun #programmer #programming #girl https://www.viva64.c­om/en/pvs-studio-dow­nload/?win
Blog at WordPress.com.
Cancel
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
%d bloggers like this: