Skip to content

ByFishh/2d-array-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A library for C development.

Description

2d-array-lib is a brand new lib to help you to use the 2d arrays in C.

Functions

Malloc char / int 2d array:

- char **alloc_char_2d_array(int line, int col);
- int **alloc_int_2d_array(int line, int col);

Copy char / int 2d array into other char / int 2d array:

- void copy_char_2d_array(char **src, char **dest, int line, int col);
- void copy_int_2d_array(int **src, int **dest, int line, int col);

Display char / int 2d array:

- void display_char_2d_array(char **array, int line, int col);
- void display_int_2d_array(int **array, int line, int col);

Fill char / int 2d array with char:

- void fill_char_2d_array(char **array, char c, int line, int col);
- void fill_int_2d_array(int **array, char c, int line, int col);

Free char / int 2d array:

- void free_char_2d_array(char **array, int line, int col);
- void free_int_2d_array(int **array, int line, int col);

About

A new C library to use 2d array.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published