Hi,
Code:
char buff1[5];
char buff2[9];
int *res;
res=buff1+12;
*res=*res+10;
Ich bekomm das auf Teufel komm raus nicht übersetzt
also normal müsste das doch so Aussehn (das oben is ne procedure):
Delphi-Quellcode:
procedure Egal;
var Buff1: Array[0..4] of Char;
Buff2: Array[0..8] of Char;
res: PInteger;
begin
res := Buff1[0] + 12;
@res := @res+10;
end;
aber das haut natürlich nicht hin....
Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."