Category: technical
July 16, 2012
algorithms, batch script, beginner, brute force, implementation, math, programming languages, technical, tricks, windows, windows command shell
Windows Batch File (*.bat, *.cmd) is probably the most well-known exectuable file formats because of its simplicity, i.e. each line corresponds to a command for shell to execute. This …
The Python way of initializing a list can be clearly expressed as the multiplication operator: * for example, # an array of ten integers, which are all initialized to …
Python is an interpreted programming language. However, similar to Java, it compiles the source code to byte-code, which will improve the code performance. Java compiles the source code (*.java) …
Many articles have discussed the variables scopes in Javascript. Today, I will explain it during my own experiments. The javascript has only two scopes, local or global. It does …
The fork() is one of the important methods that allows multiprocess/multitasking in Linux operating system. The following C code can be compiled in Linux. #include <unistd.h> int main() { …