Skip to content

Rohit-B-Kadam/Generalised-Data-Structures-Library

Repository files navigation

Generalised Data Structures Library

  • In this project we provide almost every functionality required to handle all necessary data structure in library format.
  • In case of static library there is a memory issue and to avoid it we developed the library as Shared Object.
  • We can use this library in any C/C++ application on Linux Platform.

Use Following Command

How to run Program

I First Technique

  1. Create object file ( .o )
g++ -g  -c -fPIC -Wall Collection.cpp
  1. Create Shared Object file ( .so )
g++ -g -shared -o Collection.so Collection.o
  1. Compiling client Program
g++ -g -Wall -o User User.cpp Collection.so -ldl
  1. Specifing path of Shared Object File
    • if we give SharedObject complete path in dlopen then we can direct run
       ./User
    • if we have given only name of Shared object file then we must specify the path
       LD_LIBRARY_PATH=. ./User

About

Dynamic Link Library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages