APPFS
Advanced practical programming for scientists
 All Data Structures Files Functions Variables Typedefs Macros
nums.h
Go to the documentation of this file.
1 
6 #ifndef _NUMS_H_
7 #define _NUMS_H_
8 
9 typedef struct num_store NUMS;
10 
11 extern NUMS* nums_read(const char* filename);
12 extern void nums_free(NUMS* nsp);
13 extern void nums_print(const NUMS* nsp);
14 extern size_t nums_used(const NUMS* nsp);
15 
16 #endif /* _NUMS_H_ */
17 
size_t nums_used(const NUMS *nsp)
Return count of numbers in NUMS structure.
Definition: nums.c:187
NUMS * nums_read(const char *filename)
Read numbers into data structure.
Definition: nums.c:52
Data structure to store numbers.
Definition: nums.c:19
void nums_free(NUMS *nsp)
Free NUMS data structure.
Definition: nums.c:141
void nums_print(const NUMS *nsp)
Sort and print all numbers in the NUMS structure.
Definition: nums.c:166