Computer Science
Computer science is the study and the science of the theoretical foundations of information and computation and their implementation and application in computer systems.
Language
Platform
Any
License
Any
Reading the literature, one reads to prefer algorithms over loops (Stroustrup, Sutter). This is easier said than done. In this exercise you must replace for-loops by using a combination of all those...
It’s well known that C/C++ languages are the most dominant programming languages around. This is a list of fifty outstanding websites and web pages providing source codes for and programs written in...
This is a complete list of “Hello World!” programs written in more than 300 existing programming languages including Assembly language, Low-level, High-level, Object Oriented, Document formats, Page...
The biggest bottlenecks in making efficient code today are jumps or branches. You must have always heard of people telling you to use switch-case blocks instead of cascadin if-else’es. They were...
Here is a list of famous applications and software packages written in C or C++ programming languages. Most of the programs are partially or completely written in C or C++. Apart from these...
If you are writing a software which exposes APIs to be used by a third party, then first thing you have to do is to make sure that all the integers parameters have been validated. Every incoming...
This is an article about the most common mistake that most C/CPP programmers make and clarifies the doubt that they have about the issue which is the correct form to use.
The Lua programming language is a small scripting language specifically designed to be embedded in other programs. Lua's C API allows exceptionally clean and simple code both to call Lua from C, and...
In this exercise, you learn that different ways to the same solution, yield different execution speeds. The exercise is to add one to every element of a std::vector. This is more difficult then at...
Easy C++ exercise that teaches you to think proactively about runtime errors and finally to read safely from a std::vector.
In this C++ exercise, you must write a correct Divide function, that divides two doubles. In the answer to this exercise, you'll see that the correct solution is tougher than you thought.
This is a series of on going tutorials developed specifically for beginner systems developers. Its aim is to provide the best and most informative information on developing a basic 32bit graphical...
Keeping header file dependencies to a minimum in C++ is always a good idea. There’s a great book on the subject. John Lakos’s Large Scale C++ Design , but there’s plenty of little tricks that aren’t...
The article is devoted to the first acquaintance with the PC-Lint 8.0 static analyzer of C++ code. The process of the tool installation and its initial setting is described.
This free video tutorial teaches 3D programming in C++ using OpenGL and GLUT. It covers both OpenGL syntax and 3D programming in general. It is designed to be as beginner-friendly as possible.
This article demonstrates using string/char* indexes in regular C array, e.g. myArray=10;
We usually use numaric indexes in arrays with C and C++. But there can be another way of using C / C++...
Welcome to version 2 of Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The new version has been rewritten from the ground up,...