Featured Articles

Latest

Cube Engine: Features and Games

The Cube is an open-source landscape-style engine created using OpenGL and C++ that acts as an indoor FPS game engine which allows for in-game editing of geometry in a full 3D mode, which means that you may fly around the map and point or drag objects to pick or alter them while playing simultaneously with others in multiplayer.

    News and Views

    Just In

    How to Start Your Own Tech Company

    If you're reading this, there's a good chance you've thought about starting your own tech company. And why not? With the right idea and execution, it can be a very lucrative endeavor. But where do you start? You need to take the following steps to get your tech company off the ground. So whether you're just getting started or already in the early stages of development, read on for some valuable tips.

      C and C++ Programming Examples

      Recent

      Rock, Paper, Scissors Game in C++

      This is a simple C++ program to demonstrate rock, paper, scissors game. In this game, players have to choose one of the three options to beat the opponent or the computer itself. The C++ code generates a random choice by creating a character to indicate that option. Options are: r is for 'rock', p is for 'paper', and s is for 'scissors'.

      C Tutorials

      Programming

      Double Pointer (Pointer to Pointer) in C

      A pointer can be declared to point to another pointer which points to a variable. Here, the first pointer contains the address of the second pointer. The second pointer points to an actual memory location where the data is stored, i.e. a variable. That's the reason why we also call such pointers as double pointers.

      C++ Tutorials

      Programming

      C++ Standard Template Library – List

      The Standard Template Library (STL) is one of the most essential features of C++. It has very much grown in recent years. Basically, the Standard Template Library provides templatized, general-purpose classes as well as methods. These classes and functions/methods implement several popular and most commonly used algorithms as well as data structures.

      Programming Books

      Errors: To Fail or To Recover?

      The environment in which your code runs is imperfect: users will provide invalid inputs, external systems will go down, and your code and other code around it will often contain some number of bugs. Given this, errors are inevitable; things can and will go wrong, and as a result you can’t write robust and reliable code without thinking carefully about error cases.