Tag: C Programming

Stockfish – An Open Source Chess Game Engine

Stockfish is an open source game engine and one of the best CPU chess engines in the world. It is free and Universal Chess Interface (UCI) compliant, distributed under under the GNU General Public License version 3 (GPL v3).  It is a fork of Glaurung engine, which is an open-source engine, developed by Tord Romstad and released in fall 2004. Glaurung was written in C and later versions were completely written in C++. The authors of this game engine are Tord Romstad, Marco Costalba, Joona Kiiski and Gary Linscott.

Read More

Shell Sort Algorithm

Shell Sort Algorithm sorts elements in array at a specific interval. At first, it sorts the elements that are away from each other and successively reduces the interval between them. Shell Sort is named after Donald Lewis Shell who initially wrote it in a research paper called A High-Speed Sorting Procedure.

Read More

The Typedef and using Keywords in C and C++

The typedef or “type definition” is a keyword in C or C++ Programming language that allows declaring different names for types such as int or char. It specifies that that the declaration is a typedef declaration rather than a variable or function declaration. In C/C++, any valid data type can be aliased so that it can be referred to with a different identifier.

Read More

Difference between char [] and char * in C?

Generally, the following two statements about char[] and char * in C are considered confusing and understanding the difference between them is important. The first statement puts the literal string “mycplus” in read-only memory and copies the string to newly allocated memory on the stack. The second statement is known as static string allocation and definition.

Read More

What are #ifndef and #define Directives

In the C Programming Language, the #ifndef directive checks if the given token has been #defined earlier in the C code. If the token has not been defined earlier then it includes the code between #ifndef and #else. If no #else is present then code between ##ifndef and #endif is included.

Read More

id Tech – Series of Game Engines written in C/C++

A series of game engines known as id Tech is a series designed and developed by id Software. The company behind id Tech is id Software that is part of the ZeniMax Media Inc. First few engines of the series i.e. 1, 2, 3, and 4 have been released as free software under the GNU General Public License.

Read More

IW Engine – Maker of ‘Call of Duty’ franchise

IW Engine is a next-generation game engine employed in the highly successful series of Call of Duty. The engine is written in C, C++ and Python language. It targets the platforms of Microsoft Windows, OSX, PS3, PS4, Xbox One, Xbox 360 and Wii U. It was developed by Video Game Companies Infinity Ward Inc. and Treyarch. The engine was originally based on id Tech 3 game engine. The first version IW 2.0 was developed in 2005.

Read More