#ifndef _STRUCTS_H #define _STRUCTS_H struct item { double p; double w; }; struct data { long int N; struct item * items; double allp; double allw; }; struct front_item { struct item i; struct front_item * next; struct front_item * prev; }; #endif