delphi - pointers in delphi
... Pointers in Delphi An introduction to pointer data type in Delphi. What are pointers, why, when and how to use them. One of the things beginners in Delphi (and programming in general) ... more on null-terminated strings go see: " String types in Delphi ". Have in mind that long-string variables are implicitly pointers. Pointers to records When we d...
Ngày tải lên: 16/04/2014, 11:14
... string); begin inherited Create (Application); Edit1.Text := Text; end; 14 The Delphi Magazine Issue 47 Rule 14: Hide Components Too often I hear OOP purists com- plaining because Delphi forms include ... Properties Remember that one of the advan- tages of using properties instead of accessing global data is that you can cause side-effects when writ- ing (or reading) the value of a proper...
Ngày tải lên: 16/04/2014, 11:13
... Rect(int _left, int _top, int _bottom, int _right); int GetWidth(); int GetHeight(); void SetRect(int _left, int _top, int _bottom, int _right); private: int left; int top; int bottom; int ... array of pointers to strings. This array will contain each string passed in the command line. For this code example, the following are true: argv contains 4 argc[0] contains c:\bc5\bin\grep....
Ngày tải lên: 16/04/2014, 11:13
delphi - fundamentals of database development in delphi
... using the Object Inspector add all three fields to the list. Use dragging and dropping (as explained in the 5th chapter) to link a data−aware DBEdits to fields in a database table. 22 Posting When ... in the following chapters of this course. 2 Searching for data − DB/9 Chapter nine of the free Delphi Database Course for beginners. Walking through various methods of data seeking and l...
Ngày tải lên: 16/04/2014, 11:14
delphi - teach yourself borland delphi 4 in 21 days
... Borland Delphi 4 in 21 Days - 4 - The Delphi IDE Explored ● The Delphi IDE ● Projects in Delphi ❍ Files Used in Delphi Projects ❍ Source Code Units ● The Delphi Main Menu and Toolbar ● Using ... Borland Delphi 4 in 21 Days Table of Contents: ● Introduction ● Day 1 - Getting Started with Delphi ● Day 2 - More on Pascal ● Day 3 - Classes a...
Ngày tải lên: 16/04/2014, 11:14
Naveen toppo, hrishikesh dewan pointers in c a hands on approach 2013
... variables • NULL pointers, Dangling pointers, VOID pointers and CONST qualifiers • Workings of dynamic data structures • Pointers to pointers • Triple, and quadrupal pointers • Self referential ... advanced students needing in- depth but hands-on coverage of pointer basics and advanced features. The goal is to help programmers in wielding the full potential of pointers. I...
Ngày tải lên: 19/03/2014, 14:11
delphi - opengl with delphi
... z-values are in front of the view port in the window, and positive z-values are behind the view port. Placing the clipping region entirely in front of the view port strains the hole -in- the-wall ... glVertex2f (-3 00.0 ,-3 40.0); {line} glVertex2f(300.0 ,-3 40.0); glVertex2f (-3 00.0 ,-3 20.0); {end} glVertex2f (-3 00.0 ,-3 60.0); glVertex2f (-3 00.0 ,-3...
Ngày tải lên: 16/04/2014, 11:14
delphi - threads mit delphi
... Pointer): Integer; begin Inc(g_Int); result := 0; end; function ThreadTwo(p: Pointer): Integer; begin Inc(g_Int); result := 0; end; Hier inkrementieren zwei Threads eine globale Integer-Variable ... schnell. Ein Aufruf einer In- terlocked-Funktion verbraucht während ihrer Ausführung nur einige CPU-Befehlszyklen (in der 30 Thread-Synchronisation Regel weniger als 50) und es findet kein...
Ngày tải lên: 16/04/2014, 11:15
delphi, c++ - vergleich delphi und visual c++
... 15:30:03] Objekt-Typ- Informations- Operator typeid() typeid() liefert als Ergebnis eine Klasse "type_info", die die Run-Time-Type-Informationen (RTTI) enthält. #include <typeinfo.h> class ... und Typ-referenz für Klassen (Klassenreferenz). New - Operator für einfache Typen ::opt. new Typ InitListeopt. int *int_dyn; // Zeiger int_dyn = new int; oder int_dyn = new int(7); f...
Ngày tải lên: 16/04/2014, 11:15
delphi 5 - mastering delphi 5 - chapter 22 - graphics
... ((Bmp.ScanLine [0])^, Line^, LineBytes); // for every line for J := 1 to H - 1 do begin // move line to the previous one Move ((Bmp.ScanLine [J])^, (Bmp.ScanLine [J-1])^, LineBytes); // every nLines ... memory for one line LineBytes := Abs (Integer (Bmp.ScanLine [1]) - Integer (Bmp.ScanLine [0])); Line := AllocMem (LineBytes); // scroll as many items as there are lines for I := 0 to H...
Ngày tải lên: 16/04/2014, 11:15