22 lines
316 B
C
Executable File
22 lines
316 B
C
Executable File
#ifndef ARRAY_H
|
|
#define ARRAY_H
|
|
|
|
typedef struct IntArray {
|
|
unsigned int length;
|
|
int *data;
|
|
} intArray;
|
|
|
|
int sizeofStr(char in[]);
|
|
|
|
void printStrArray(char in[]);
|
|
|
|
void printIntArray(intArray *in);
|
|
|
|
int checkIntArraySorted(intArray *in);
|
|
|
|
intArray intToIntArray(int in);
|
|
|
|
int intArrayToInt(intArray *in);
|
|
|
|
#endif
|