Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   C++ Builder (https://www.clubdelphi.com/foros/forumdisplay.php?f=13)
-   -   type? (https://www.clubdelphi.com/foros/showthread.php?t=66192)

Ledian_Fdez 05-02-2010 20:36:13

type?
 
Como podre llevar este código al equivalente en borland c++
Código Delphi [-]
type
  TEncripDir = (Protect,UnProtect);

gracias
Ledian

rgstuamigo 05-02-2010 20:53:42

Si no me equivoco es equivalente a hacer una enumeracion (enum) en C++, entonces sería asi:
Cita:

enum TEncripDir { Protect,UnProtect };
Saludos...:)


La franja horaria es GMT +2. Ahora son las 02:09:12.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi