Assignments

Top  Previous  Next

What is translated > Assignments

A simple assignment statement in Delphi looks like:

 

A := B;

 

This becomes in C++ to

 

A = B;

 

However, some simple assignments in Delphi are producing warnings or even bugs in C++. Therefore

 

explicit casts, especially for void pointers or

special assignment routines

 

are necessary in C++.

 



This page belongs to the DelphiXE2Cpp11 Documentation

DelphiXE2Cpp11 home  Content