https://www.youtube.com/watch?v=CSVRA4_xOkw
Continue ReadingC++: Count in Octal
The task is to produce a sequential count in octal, starting at zero, and using an increment of a one for each consecutive number. Each number should
Continue ReadingC++: Split a string in C++
What’s the most elegant way to split a string in C++? The string can be assumed to be composed of words separated by whitespace. (Note that I’m
Continue ReadingC++: Count in Factors
Write a program which counts up from 1, displaying each number as the multiplication of its prime factors. For the purpose of this task, 1 may be show
Continue ReadingC++: Catch an Exception Thrown in a Nested Call
Show how to create a user-defined exception and show how to catch an exception raised from several nested calls away. Create two user-defined exc
Continue ReadingAvoiding “!= Null” Statements in Java?
I work with Java all day long. The most used idiom (code snippet) I’m programming in Java, is to test if an object != null before I use it. This is
Continue ReadingCrash Course in C++
C++ is a systems programming language that, according to its inventor Bjarne Stroustrup, was designed to be a “better C” support data abst
Continue ReadingC++ Programming Tutorial for Beginners in English – Part 1
https://www.youtube.com/watch?v=S3t-5UtvDN0
Continue ReadingC++: What does the explicit keyword in C++ mean?
Someone posted in a comment to another question about the meaning of the explicit keyword in C++. So, what does it mean? Skizz Answer: In C++, th
Continue ReadingC++: Cycles in family tree software
I am the developer of some family tree software (written in C++ and Qt). I had no problems until one of my customers mailed me a bug report. The probl
Continue Reading




