Visual C++ .NET <-> Object Pascal | Növelés utasitás

Visual C++ .NET

++

Leírás

++ var ;

Bemenet

Példaprogramok

Visual C++ .NET

Növelés utasitás lehetséges használata:
i=0;
while (i<10) ++i;
x =0;
while (i<20)
{
 i= i+2;
 if (i==16)
 {
    continue;
 }
 x++; 
}
.
Object Pascal

inc

Leírás


Bemenet

Példaprogramok

Object Pascal

Növelés utasitás lehetséges használata:
i:=0;
while i<10 do inc(i);
x :=0;
while i<20 do
begin
 i:= i+2;
 if i=16 then
 begin
    continue
 end;
 inc(x); 
end;
Visual C++ .NET

++

Leírás

var ++ ;

Bemenet

Példaprogramok

Visual C++ .NET

Növelés utasitás lehetséges használata:
i=0;
while (i<10) ++i;
x =0;
while (i<20)
{
 i= i+2;
 if (i==16)
 {
    continue;
 }
 x++; 
}
.
Object Pascal

inc

Leírás


Bemenet

Példaprogramok

Object Pascal

Növelés utasitás lehetséges használata:
i:=0;
while i<10 do inc(i);
x :=0;
while i<20 do
begin
 i:= i+2;
 if i=16 then
 begin
    continue
 end;
 inc(x); 
end;
Más nyelveken: en hu cz sk