Tag: C/C++
September 28, 2014
beginner, c / c++, code, code library, compiler, implementation, linux, programming languages, python, ubuntu
*.so files under Linux are similar to *.dll on windows. They are both shared library, which contain commonly-used functions/classes. The shared library can be loaded into memory whenever needed …
The Essence of the 8-bit 6502 programming for NES (Nintendo Entertainment System) should be the Sprites. So, what is a Sprite? A Sprite is a moving object in the …
September 20, 2014
BASH Shell, beginner, c / c++, code, code library, console, I/O File, implementation, programming languages, windows, windows command shell
On Linux BASH shell, the ‘nl’ utility is used to print out text file (or string) with line numbers. If you type in nl –help you will have a …
The static methods in OOP (Object Oriented Programming) can be treated as ‘global methods’ for that class. It means that every instances (objects) of class share the same method/variables …
C/C++ compilers provide two pre-defined ‘constants’ that return the current source file name and the line number of current statement. So it is useful to locate the error when …