Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Otros entornos y lenguajes > C++ Builder
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 30-06-2004
carlosmoralesm carlosmoralesm is offline
Miembro
 
Registrado: feb 2004
Posts: 94
Poder: 21
carlosmoralesm Va por buen camino
Unhappy Ayuda en traducir de C a Delphi

Hola a todos

quisiera ver si alguien me puede ayudar a traducir el siguiente codigo de C a delphi o si me puede decir si la parte de la trduccion esta correcta.

Gracias de Antemano.

struct pattern
{
unsigned bit_length;
unsigned length;
char r_flag;
unsigned char *bytes;
struct pattern *next;
};
typedef struct pattern pattern;
struct command
{
unsigned char *name;
struct pattern *pattern;
struct command *next;
};
typedef struct command command;
struct remote
{
unsigned char *name;
unsigned long carrier_freq;
unsigned bit_time;
struct command *command;
struct remote *next;
};
typedef struct remote remote;

struct remote* CreateRemote(unsigned char *RemoteName, unsigned long Carrier, unsigned long BitRate);


Traduccion


type
pattern= record
bit_length : DWORD;
length : DWORD;
r_flag :CHAR;
bytes : BYTE;
end;

type
command=record
name : CHAR;
pattern : pointer;
end;

type
remote = record
name : CHAR;
carrier_freq : Longint;
bit_time : WORD;
command: pointer;
end;


Gracias nuevamente.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 10:47:54.


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
Copyright 1996-2007 Club Delphi