Mathc initiation/Fichiers h : c26a3
Installer ce fichier dans votre répertoire de travail.
![]() |
x_strct.h utilitaire |
---|
/* --------------------------------- */
/* save as x_strct.h */
/* --------------------------------- */
typedef struct
{
double x;
double y;
double z;
}pt3d, *Ppt3d;
/* --------------------------------- */
/* --------------------------------- */
pt3d i_pt3d(
double a,
double b,
double c
)
{
pt3d p;
p.x = a;
p.y = b;
p.z = c;
return (p);
}
/* --------------------------------- */
Dans ce fichier il y a les structures et les fonctions d'initialisation.