Tag: coding
October 14, 2013
16 bit, assembly language, DOS, DOSBOX, I/O File, implementation, MSDOS 16-bit, optimization, programming languages, windows command shell
In , we talk about the DOSBox, an x86 emulator for DOS that can bring us back the memory of DOS programs. And we also talk about the .COM …
April 16, 2013
algorithms, beginner, c #, code, code library, floating point, implementation, math, optimization, programming languages, tricks
Mathematical function log10can be quite time consuming. If it is not available, for some languages such as VBScript, you have to compute it base on the fact. and therefore, we …
The inline keyword in Delphi is a powerful optimization feature that instructs the compiler to replace a function or procedure call with its actual code, eliminating the overhead of …
In python, you can define classes using keyword class. The basic class skeleton that has a constructor and a destructor is given below. #!/usr/bin/env python class TestClass: def __init__(self): …
This is from http://www.codeforces.com/problemset/problem/131/A The python does not allow altering string, because it seems the string is immutable. For example, if you try the following. s = "1234" s …