Tag: pointer
C/C++ is sometimes considered the mid-level programming language because if offers the powerful pointers. We know that, like many other programming languages, if you have a array named arr …
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; …
Question : Given a sorted list represented by a directional link structure (as follows), remove the duplicates and return the new list. /** * Definition for singly-linked list. * …
May 31, 2013
compiler, delphi, floating point, implementation, interpreter / compiler, math, object pascal, optimization, programming languages, technical, tricks, windows
In Delphi, you can use the keyword absolute to force the union variable. e.g. Two variables share the same memory location, which is good to do some tricky things, for example, …
I have posted a question on stackoverflow.com and it got answered within a few minutes. Then I realized how stupid this bug was. I have a Delphi project that was …