File organization

Top  Previous  Next

What is translated > File organization


The interface part and the implementation part of a unit are in Object-Pascal put in one file. In C++ they become a header file and a source file. The header file is enclosed into a sentinel:


#ifndef testH

#define testH






and the source file uses the precompiled VCL:


#include <vcl.h>

#pragma hdrstop


This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content