Tags » Cpp

Oculus Touch controllers with C++

In my last post Arkwood got all gushy over his new Oculus Touch controllers. The controllers grant my buddy virtual hands when he’s playing games on the Oculus Rift virtual reality headset. 391 more words


NPA ambush' civilians in Agusan

Four civilians were killed and four others, including an 8-year-old ¬†girl, were wounded when a band of New People’s Army (NPA) rebels opened fire at an ambulance vehicle in Sitio Latay, Barangay Marfil, Rosario, Agusan del Sur Sunday afternoon (November 30, 2014). 263 more words


We continue checking Microsoft projects: analysis of PowerShell

It has become a “good tradition” for Microsoft to make their products open-source: CoreFX, .Net Compiler Platform (Roslyn), Code Contracts, MSBuild, and other projects. For us, the developers of PVS-Studio analyzer, it’s an opportunity to check well-known projects, tell people (including the project authors themselves) about the bugs we find, and additionally test our analyzer. 3,111 more words


Election 2016: Final Campaign Messages 

#Akufu-Addo (NPP). We’re ready to save Ghana. “I am not going to disappoint the people of Ghana. Together, we are going to build a new Ghana that will ensure prosperity for all.” … 225 more words


State Machine for Multi-thread Object

0. Background

State machine, the most famous pattern I think, could be not only used in object oriented programming, but also in process oriented one. We could define state for anything, object, process, conclusion, data, etc… Just let me introduce one scenario for state machine usage, an useful one to deal with the multiple thread object. 1,802 more words

Design Pattern

do {...} while (0) in macros

If you are a C programmer, you must be familiar with macros. They are powerful and can help you ease your work if used correctly. However, if you don’t define macros carefully, they may bite you and drive you crazy. 399 more words


Microsoft Speech API (SAPI) with C++

Peters was aghast. All my senses are filling up, he said.

It’s true. He puts on the Oculus Rift virtual reality headset and is stimulated. 557 more words