+ 2

How i will create my own library in c++

16th Nov 2016, 9:25 PM
Rajkumar Nagar
Rajkumar Nagar - avatar
3 Answers
+ 2
First you should know how to create a class using header file. Then just add(include) your header file in cpp file you need. This works like a library. Making a complete library takes lot of time and effort so I don't suggest creating one.
17th Nov 2016, 5:10 PM
Ishpreet Singh Bindra
Ishpreet Singh Bindra - avatar
+ 1
@sandy singh.... it beneficial because many times only one method is used in one header file ..... so we just create another header file which contains all these funtios and header .... so we does not need to write all header files...
17th Nov 2016, 5:51 PM
Rajkumar Nagar
Rajkumar Nagar - avatar
0
@Rajkumar Nagar I'm also trying to say that
17th Nov 2016, 6:42 PM
Ishpreet Singh Bindra
Ishpreet Singh Bindra - avatar