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.
Article

C++ exercise: no for-loops

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...
Article

50 C/C++ source code websites

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...
Article

List of Hello World Programs in 300 Programming Languages

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...
Article

Switch-Case optimizations in C

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...
Article

Top 10 best applications written in C and C++ Programming

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...
Article

Validating Untrusted Integer Inputs

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...
Article

int main vs void main

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.
Article

Embed Lua for scriptable apps

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...
Article

C++ exercise: add one

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...
Article

C++ exercise: reading from a std::vector safely

Easy C++ exercise that teaches you to think proactively about runtime errors and finally to read safely from a std::vector.
Article

C++ exercise: a correct Divide function

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.
Article

OS Development Series

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...
Article

C++ header dependency tricks

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...
Article

Installation of PC-Lint and its using in Visual Studio 2005

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.
Article

OpenGL Video Tutorial

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.
Article

Implementing associative arrays in C/C++

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++...
Article

Boost.Python

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,...
1 2 3 4 5 6 7  Next
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.