Skip to content

MumbaiHackathon/New-C-Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INTRODUCTION:-

C is the father of all programming languages. Though it's popularity has gone down with introduction of more user friendly languages like Python and JavaScript, C is still widely used in the fields of compiler and OS construction.

The prime aim of this project is to make coding in C a pleasure with introduction of more libraries which are not currently present in C unlike Python or Java.

As a modest beginning, we have built three libraries with 90 extremely user friendly functions covering most aspects of arrays, matrices, vectors and binary operations.

We hope the open source community to contribute more and more C libraries with useful, user friendly and robust functions to compete with the in-built libraries of Java and Python.

The project also consists of a webpage (https://akashg6.github.io/New-C-Library/index.html) hosted on GitHub detailing the various functions available in these new libraries. You can also refer test.c file for seeing the actual implementation of every function available.

NOTE: These libraries do not make use of some standard libraries like conio.h that are not available on linux systems. This was done on purpose so that users are free to chose any system they want and not be restricted to windows to use these libraries.


INSTRUCTIONS TO USE THE LIBRARY:-

The header file of libraries under this project can be imported into a C program as follows:-

By adding #include "library_name.h" in the pre-proccessor section along with other standard libraries.

For example:-
#include <stdio.h>
#include "bin.h"
#include "vector.h"
#include "array.h"

NOTE:- The above method only works if the header file is present in the root directory of your program (i.e in the same path as your C progarm)

If the header file is located in any subfolder of your root directory then import as follows:-

#include "path/bin.h"
Where 'path' is the actual path under which the header file is located.

Alternatively, if you are using an IDE, paste the necessary header files in the 'include' folder of the respective IDE and import the header file as any standard library in the pre-proccessor section of your progarm.

For example:-
#include <stdio.h>
#include <bin.h>
#include <vector.h>
#include <array.h>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 63.9%
  • C 36.1%