Possible Duplicates:
Does C++ have “with” keyword like Pascal?
Equivalent of with(from Pascal) to C/C++
It's very convenient to use "with" in Pascal. And how can I do it in C/C++ programming?
The following from Wikipedia shows how the with
keyword is used to avoid repeating the name of a record pointer when doing many accesses through it:
new(ptoNode);
...
with ptoNode^ do
begin
a := 10;
b := 'A';
c := nil
end;