This is a simple package about Data Structure packed by C/C++ language.
Project description
#ifndef CIRCULARSINGLELINKEDLIST_INT #define CIRCULARSINGLELINKEDLIST_INT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) int get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(int elem); extern “C” __declspec(dllimport) int prior_elem(int elem); extern “C” __declspec(dllimport) int next_elem(int elem); extern “C” __declspec(dllimport) bool add_first(int elem); extern “C” __declspec(dllimport) bool add_after(int elem); extern “C” __declspec(dllimport) bool list_insert(int index, int elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !CIRCULARSINGLELINKEDLIST_INT #ifndef CIRCULARSINGLELINKEDLIST_CHAR #define CIRCULARSINGLELINKEDLIST_CHAR #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char elem); extern “C” __declspec(dllimport) char prior_elem(char elem); extern “C” __declspec(dllimport) char next_elem(char elem); extern “C” __declspec(dllimport) bool add_first(char elem); extern “C” __declspec(dllimport) bool add_after(char elem); extern “C” __declspec(dllimport) bool list_insert(int index, char elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !CIRCULARSINGLELINKEDLIST_CHAR #ifndef CIRCULARSINGLELINKEDLIST_FLOAT #define CIRCULARSINGLELINKEDLIST_FLOAT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) float get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(float elem); extern “C” __declspec(dllimport) float prior_elem(float elem); extern “C” __declspec(dllimport) float next_elem(float elem); extern “C” __declspec(dllimport) bool add_first(float elem); extern “C” __declspec(dllimport) bool add_after(float elem); extern “C” __declspec(dllimport) bool list_insert(int index, float elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !CIRCULARSINGLELINKEDLIST_FLOAT #ifndef CIRCULARSINGLELINKEDLIST_DOUBLE #define CIRCULARSINGLELINKEDLIST_DOUBLE #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) double get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(double elem); extern “C” __declspec(dllimport) double prior_elem(double elem); extern “C” __declspec(dllimport) double next_elem(double elem); extern “C” __declspec(dllimport) bool add_first(double elem); extern “C” __declspec(dllimport) bool add_after(double elem); extern “C” __declspec(dllimport) bool list_insert(int index, double elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !CIRCULARSINGLELINKEDLIST_DOUBLE #ifndef CIRCULARSINGLELINKEDLIST_STRING #define CIRCULARSINGLELINKEDLIST_STRING #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char * get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char * elem); extern “C” __declspec(dllimport) char * prior_elem(char * elem); extern “C” __declspec(dllimport) char * next_elem(char * elem); extern “C” __declspec(dllimport) bool add_first(char * elem); extern “C” __declspec(dllimport) bool add_after(char * elem); extern “C” __declspec(dllimport) bool list_insert(int index, char * elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !CIRCULARSINGLELINKEDLIST_STRING #ifndef DOUBLELINKEDLIST_INT #define DOUBLELINKEDLIST_INT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) int get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(int elem); extern “C” __declspec(dllimport) int prior_elem(int elem); extern “C” __declspec(dllimport) int next_elem(int elem); extern “C” __declspec(dllimport) bool add_first(int elem); extern “C” __declspec(dllimport) bool add_after(int elem); extern “C” __declspec(dllimport) bool list_insert(int index, int elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLIST_INT #ifndef DOUBLELINKEDLIST_CHAR #define DOUBLELINKEDLIST_CHAR #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char elem); extern “C” __declspec(dllimport) char prior_elem(char elem); extern “C” __declspec(dllimport) char next_elem(char elem); extern “C” __declspec(dllimport) bool add_first(char elem); extern “C” __declspec(dllimport) bool add_after(char elem); extern “C” __declspec(dllimport) bool list_insert(int index, char elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLIST_CHAR #ifndef DOUBLELINKEDLIST_FLOAT #define DOUBLELINKEDLIST_FLOAT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) float get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(float elem); extern “C” __declspec(dllimport) float prior_elem(float elem); extern “C” __declspec(dllimport) float next_elem(float elem); extern “C” __declspec(dllimport) bool add_first(float elem); extern “C” __declspec(dllimport) bool add_after(float elem); extern “C” __declspec(dllimport) bool list_insert(int index, float elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLIST_FLOAT #ifndef DOUBLELINKEDLIST_DOUBLE #define DOUBLELINKEDLIST_DOUBLE #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) double get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(double elem); extern “C” __declspec(dllimport) double prior_elem(double elem); extern “C” __declspec(dllimport) double next_elem(double elem); extern “C” __declspec(dllimport) bool add_first(double elem); extern “C” __declspec(dllimport) bool add_after(double elem); extern “C” __declspec(dllimport) bool list_insert(int index, double elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLIST_DOUBLE #ifndef DOUBLELINKEDLIST_STRING #define DOUBLELINKEDLIST_STRING #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char * get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char * elem); extern “C” __declspec(dllimport) char * prior_elem(char * elem); extern “C” __declspec(dllimport) char * next_elem(char * elem); extern “C” __declspec(dllimport) bool add_first(char * elem); extern “C” __declspec(dllimport) bool add_after(char * elem); extern “C” __declspec(dllimport) bool list_insert(int index, char * elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLIST_STRING #ifndef DOUBLELINKEDLISTWITHOUTHEADNODE_INT #define DOUBLELINKEDLISTWITHOUTHEADNODE_INT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) int get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(int elem); extern “C” __declspec(dllimport) int prior_elem(int elem); extern “C” __declspec(dllimport) int next_elem(int elem); extern “C” __declspec(dllimport) bool add_first(int elem); extern “C” __declspec(dllimport) bool add_after(int elem); extern “C” __declspec(dllimport) bool list_insert(int index, int elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLISTWITHOUTHEADNODE_INT #ifndef DOUBLELINKEDLISTWITHOUTHEADNODE_CHAR #define DOUBLELINKEDLISTWITHOUTHEADNODE_CHAR #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char elem); extern “C” __declspec(dllimport) char prior_elem(char elem); extern “C” __declspec(dllimport) char next_elem(char elem); extern “C” __declspec(dllimport) bool add_first(char elem); extern “C” __declspec(dllimport) bool add_after(char elem); extern “C” __declspec(dllimport) bool list_insert(int index, char elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLISTWITHOUTHEADNODE_CHAR #ifndef DOUBLELINKEDLISTWITHOUTHEADNODE_FLOAT #define DOUBLELINKEDLISTWITHOUTHEADNODE_FLOAT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) float get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(float elem); extern “C” __declspec(dllimport) float prior_elem(float elem); extern “C” __declspec(dllimport) float next_elem(float elem); extern “C” __declspec(dllimport) bool add_first(float elem); extern “C” __declspec(dllimport) bool add_after(float elem); extern “C” __declspec(dllimport) bool list_insert(int index, float elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLISTWITHOUTHEADNODE_FLOAT #ifndef DOUBLELINKEDLISTWITHOUTHEADNODE_DOUBLE #define DOUBLELINKEDLISTWITHOUTHEADNODE_DOUBLE #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) double get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(double elem); extern “C” __declspec(dllimport) double prior_elem(double elem); extern “C” __declspec(dllimport) double next_elem(double elem); extern “C” __declspec(dllimport) bool add_first(double elem); extern “C” __declspec(dllimport) bool add_after(double elem); extern “C” __declspec(dllimport) bool list_insert(int index, double elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLISTWITHOUTHEADNODE_DOUBLE #ifndef DOUBLELINKEDLISTWITHOUTHEADNODE_STRING #define DOUBLELINKEDLISTWITHOUTHEADNODE_STRING #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char * get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char * elem); extern “C” __declspec(dllimport) char * prior_elem(char * elem); extern “C” __declspec(dllimport) char * next_elem(char * elem); extern “C” __declspec(dllimport) bool add_first(char * elem); extern “C” __declspec(dllimport) bool add_after(char * elem); extern “C” __declspec(dllimport) bool list_insert(int index, char * elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); extern “C” __declspec(dllimport) void traverse_list_by_reverse_order(); #endif // !DOUBLELINKEDLISTWITHOUTHEADNODE_STRING #ifndef SEQUENTIALLIST_INT #define SEQUENTIALLIST_INT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void set_capacity(int maxsize); extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) int get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(int elem); extern “C” __declspec(dllimport) int prior_elem(int elem); extern “C” __declspec(dllimport) int next_elem(int elem); extern “C” __declspec(dllimport) bool list_insert(int index, int elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SEQUENTIALLIST_INT #ifndef SEQUENTIALLIST_CHAR #define SEQUENTIALLIST_CHAR #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void set_capacity(int maxsize); extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char elem); extern “C” __declspec(dllimport) char prior_elem(char elem); extern “C” __declspec(dllimport) char next_elem(char elem); extern “C” __declspec(dllimport) bool list_insert(int index, char elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SEQUENTIALLIST_CHAR #ifndef SEQUENTIALLIST_FLOAT #define SEQUENTIALLIST_FLOAT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void set_capacity(int maxsize); extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) float get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(float elem); extern “C” __declspec(dllimport) float prior_elem(float elem); extern “C” __declspec(dllimport) float next_elem(float elem); extern “C” __declspec(dllimport) bool list_insert(int index, float elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SEQUENTIALLIST_FLOAT #ifndef SEQUENTIALLIST_DOUBLE #define SEQUENTIALLIST_DOUBLE #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void set_capacity(int maxsize); extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) double get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(double elem); extern “C” __declspec(dllimport) double prior_elem(double elem); extern “C” __declspec(dllimport) double next_elem(double elem); extern “C” __declspec(dllimport) bool list_insert(int index, double elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SEQUENTIALLIST_DOUBLE #ifndef SEQUENTIALLIST_STRING #define SEQUENTIALLIST_STRING #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void set_capacity(int maxsize); extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char * get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char * elem); extern “C” __declspec(dllimport) char * prior_elem(char * elem); extern “C” __declspec(dllimport) char * next_elem(char * elem); extern “C” __declspec(dllimport) bool list_insert(int index, char * elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SEQUENTIALLIST_STRING #ifndef SINGLELINKEDLIST_FLOAT #define SINGLELINKEDLIST_FLOAT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) int get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(int elem); extern “C” __declspec(dllimport) int prior_elem(int elem); extern “C” __declspec(dllimport) int next_elem(int elem); extern “C” __declspec(dllimport) bool add_first(int elem); extern “C” __declspec(dllimport) bool add_after(int elem); extern “C” __declspec(dllimport) bool list_insert(int index, int elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLIST_FLOAT #ifndef SINGLELINKEDLIST_CHAR #define SINGLELINKEDLIST_CHAR #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char elem); extern “C” __declspec(dllimport) char prior_elem(char elem); extern “C” __declspec(dllimport) char next_elem(char elem); extern “C” __declspec(dllimport) bool add_first(char elem); extern “C” __declspec(dllimport) bool add_after(char elem); extern “C” __declspec(dllimport) bool list_insert(int index, char elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLIST_CHAR #ifndef SINGLELINKEDLIST_FLOAT #define SINGLELINKEDLIST_FLOAT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) float get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(float elem); extern “C” __declspec(dllimport) float prior_elem(float elem); extern “C” __declspec(dllimport) float next_elem(float elem); extern “C” __declspec(dllimport) bool add_first(float elem); extern “C” __declspec(dllimport) bool add_after(float elem); extern “C” __declspec(dllimport) bool list_insert(int index, float elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLIST_FLOAT #ifndef SINGLELINKEDLIST_DOUBLE #define SINGLELINKEDLIST_DOUBLE #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) double get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(double elem); extern “C” __declspec(dllimport) double prior_elem(double elem); extern “C” __declspec(dllimport) double next_elem(double elem); extern “C” __declspec(dllimport) bool add_first(double elem); extern “C” __declspec(dllimport) bool add_after(double elem); extern “C” __declspec(dllimport) bool list_insert(int index, double elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLIST_DOUBLE #ifndef SINGLELINKEDLIST_STRING #define SINGLELINKEDLIST_STRING #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) bool init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char * get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char * elem); extern “C” __declspec(dllimport) char * prior_elem(char * elem); extern “C” __declspec(dllimport) char * next_elem(char * elem); extern “C” __declspec(dllimport) bool add_first(char * elem); extern “C” __declspec(dllimport) bool add_after(char * elem); extern “C” __declspec(dllimport) bool list_insert(int index, char * elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLIST_STRING #ifndef SINGLELINKEDLISTWITHOUTHEADNODE_INT #define SINGLELINKEDLISTWITHOUTHEADNODE_INT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) int get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(int elem); extern “C” __declspec(dllimport) int prior_elem(int elem); extern “C” __declspec(dllimport) int next_elem(int elem); extern “C” __declspec(dllimport) bool add_first(int elem); extern “C” __declspec(dllimport) bool add_after(int elem); extern “C” __declspec(dllimport) bool list_insert(int index, int elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLISTWITHOUTHEADNODE_INT #ifndef SINGLELINKEDLISTWITHOUTHEADNODE_CHAR #define SINGLELINKEDLISTWITHOUTHEADNODE_CHAR #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char elem); extern “C” __declspec(dllimport) char prior_elem(char elem); extern “C” __declspec(dllimport) char next_elem(char elem); extern “C” __declspec(dllimport) bool add_first(char elem); extern “C” __declspec(dllimport) bool add_after(char elem); extern “C” __declspec(dllimport) bool list_insert(int index, char elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLISTWITHOUTHEADNODE_CHAR #ifndef SINGLELINKEDLISTWITHOUTHEADNODE_FLOAT #define SINGLELINKEDLISTWITHOUTHEADNODE_FLOAT #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) float get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(float elem); extern “C” __declspec(dllimport) float prior_elem(float elem); extern “C” __declspec(dllimport) float next_elem(float elem); extern “C” __declspec(dllimport) bool add_first(float elem); extern “C” __declspec(dllimport) bool add_after(float elem); extern “C” __declspec(dllimport) bool list_insert(int index, float elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLISTWITHOUTHEADNODE_FLOAT #ifndef SINGLELINKEDLISTWITHOUTHEADNODE_DOUBLE #define SINGLELINKEDLISTWITHOUTHEADNODE_DOUBLE #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) double get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(double elem); extern “C” __declspec(dllimport) double prior_elem(double elem); extern “C” __declspec(dllimport) double next_elem(double elem); extern “C” __declspec(dllimport) bool add_first(double elem); extern “C” __declspec(dllimport) bool add_after(double elem); extern “C” __declspec(dllimport) bool list_insert(int index, double elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLISTWITHOUTHEADNODE_DOUBLE #ifndef SINGLELINKEDLISTWITHOUTHEADNODE_STRING #define SINGLELINKEDLISTWITHOUTHEADNODE_STRING #include “framework.h” #include “DataStorage.h” #include <iostream> extern “C” __declspec(dllimport) void init_list(); extern “C” __declspec(dllimport) void destroy_list(); extern “C” __declspec(dllimport) void clear_list(); extern “C” __declspec(dllimport) bool list_empty(); extern “C” __declspec(dllimport) int list_length(); extern “C” __declspec(dllimport) char * get_elem(int index); extern “C” __declspec(dllimport) int locate_elem(char * elem); extern “C” __declspec(dllimport) char * prior_elem(char * elem); extern “C” __declspec(dllimport) char * next_elem(char * elem); extern “C” __declspec(dllimport) bool add_first(char * elem); extern “C” __declspec(dllimport) bool add_after(char * elem); extern “C” __declspec(dllimport) bool list_insert(int index, char * elem); extern “C” __declspec(dllimport) bool list_delete(int index); extern “C” __declspec(dllimport) void traverse_list(); #endif // !SINGLELINKEDLISTWITHOUTHEADNODE_STRING
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file AdroitFisherman-0.0.17.tar.gz
.
File metadata
- Download URL: AdroitFisherman-0.0.17.tar.gz
- Upload date:
- Size: 15.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec48d6a61817e5c21e982de762262ff05d57bb16aa791123abe4a0a41d7fd61 |
|
MD5 | efc5dec1febcbcde77e88649fe3a55df |
|
BLAKE2b-256 | d139d375adac3384d0da9d4edc53a1b7953461f6ce0905c9f598c058e4ba6b3e |
File details
Details for the file AdroitFisherman-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: AdroitFisherman-0.0.17-py3-none-any.whl
- Upload date:
- Size: 15.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 478bfe4a8707883ba8b2783e20d961daa1c01fde51392e2caaa0ee394fc2c54c |
|
MD5 | 32f753a36369c0b85ddd6ff5b28fb9e4 |
|
BLAKE2b-256 | fc382d52b45c0476ee2e0d645d99a0c39ed99150252239f98a3a933b7f361fcf |