You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
529 B

/**
* Datei: pointStack.h
* Headerdatei fuer Stack Programm
*
* Rainer Hihn
*/
#include <stdio.h>
#include <stdlib.h>
/*
* structs
*/
/*
* struct fuer die Koordinaten
*/
struct point
{
float rX;
float rY;
float rZ;
};
typedef struct point POINT;
struct stackPoint
{
POINT p;
struct stackPoint *next;
};
typedef struct stackPoint STACK_POINT;
typedef STACK_POINT *STACK_POINT_PTR;
/*
* Funktionen
*/
void push(POINT pushPoint);
POINT pop();
int isEmpty();
void printStackElement(POINT aPoint);