Category: implementation
C/C++ is powerful because of pointers. The pointers are used to represent the address of some memory locations. Pointers can be involved in arithmetic operations, for example, int *p; …
Given a string that consists of words (non-space characters count as part of a word), you are required to output the new sentence that reverses the words. For example, …
Scripting in Windows using VBScript or Javascript for WSH (Windows Scripting Host) is so convenient. You could write scripts and save them using notepad or any other text-editor as …
April 4, 2014
algorithms, beginner, c / c++, code, code library, implementation, interview questions, leetcode online judge, math, programming languages, string
The sequence is interesting. It starts from ‘1’. The next number always counts the previous number in digits one by one. For example, the second number in the series …
March 30, 2014
16 bit, 6502, 8 bit, assembly language, code, code library, compiler, console, debug, famicom, hardware, implementation, interpreter / compiler, Nintendo Entertainment System, programming languages
On 16-bit MSDOS, you can use debug.exe (16-bit debugger) to write tiny (or small) .COM binary programs. There is no compilation process, you write the assembly code and the …