Category: delphi
Heron’s Formula is a method to compute the area of a triangle when you know its three sides, a, b, and c. The area S is then based on p where and can be easily implemented …
November 26, 2012
assembly language, beginner, compiler, delphi, implementation, interpreter / compiler, profiler, programming languages, tools / utilities, tricks
In Delphi, you can use SizeOf to get the size of a type or any variable. The SizeOf function returns the storage size, in bytes, of either a Variable …
Before Delphi 2007, sometimes you will have a warning showing up for lengthy functions, even if you have defined return value at the begining of the function, for example: …
Given two rectangles (as shown in the following figure), , are lower-left points while and are top-right points. We want to find out whether these two rectangles overlap each …
The remainder computation on two integers a and b can be normally simply expressed as %, or mod in most of the current modern programming languages. The process of …