This source code repository is designed to be used by Software Developers. It comprises of a collection of commonly used software algorithms written in C++ programming language. A set of native (e.g., macOS, Linux, UNIX) environment C++ libraries located in specific folders could be compiled by the software developers to include the same in their own industry applications.
Prior to using this source code repository, a POSIX compliant software development environment would be required. Ideally, you could have
- macOS or Linux operating system
- git - version control system for maintaining the source code
- make - software build tool to compile all C++ programs
- GNU C++ Compiler - free & open source software
- Microsoft Visual Studio Code IDE for editing the source code
The following folders serve specific purpose with regard to software development
- inc - include header files
- lib - pre-compiled library files
- obj - pre-compiled object files
- act - financial accounting algorithms
- bio - biological algorithms
- bit - information theory algorithms
- che - chemical algorithms
- doc - document assembly algorithms
- dsa - data structure algorithms
- ecn - electronic circuit algorithms
- eco - economic model algorithms
- fin - financial algorithms
- gis - geospatial system algorithms
- grt - general relativity algorithms
- img - digital imaging algorithms
- law - legal matter algorithms
- phy - physical algorithms
- qft - quantum field algorithms
- shp - geometrical shape algorithms
- web - web development system
Besides using the following command in the main folder, you could compile each domain-specific folder independently. The following command would build all the sub-folders as well. It will add native libraries into lib folder.
$ make allOnce all the vative libraries are built in respective sub-directories, you could compile a custom software application alone by simply using the following command
$ make appFor example, the bhojpur.app is a custom application built from main.cpp in the root folder.
The microscropic realm phenomenon is modeled using the following native C++ libraries
- firstly, the dsa library must be compiled to use available data containers
- then, compile shp library which forms the base for several other libraries
- then, compile img library which forms the base for image processing libraries
- then, compile qft library that models core concepts of the physical reality
- then, compile phy library that builds on qft to model the Physics
- then, compile che library that builds on phy to model the Chemistry
- then, compile bio library that builds on che to model the Biology
- then, compile ecn library that builds on qft to model the Circuits
- then, compile bit library that builds on qft to model the Information
The macro-world phenomenon is modeled using the following native C++ libraries
- the gis library could be compiled after shp library is ready
- the grt library could be compiled after gis library is ready
The legal system is modeled using the following native C++ libraries
- the doc library could be compiled after act library is ready
- the law library could be compiled after doc library is ready
The financial system is modeled using the following native C++ libraries
- the act library could be compiled after shp library is ready
- the eco library could be compiled after act library is ready
- the fin library could be compiled after act library is ready
To clean up all the temporary files and folders (e.g., obj, lib)
$ make cleanHowever, to clean up pre-compiled C++ object files containing folder alone, you can issue the following command
$ make clean-objsAlso, to clean up pre-compiled C++ library files containing folder alone, you can issue the following command
$ make clean-libsAnd, to clean up only pre-compiled custom application files, you can issue the following command
$ make clean-appsThe entire source code of cpp-native is maintained at GitHub. You could push modified source code to this repository by using the following command
$ make repoHowever, update changed files by issueing the following commands first. For example
To add new or affectd files or folders
$ git add a.cppTo remove existing files or folders
$ git rm a.cppTo run bhojpur.app (i.e., a custom application program) built using native C++ libraries compiled after calling make command, you could issue the following command in your shell environment
$ ./bhojpur.app -vIt would simply print a copyright message. Perhaps, you could customize this main.cpp source code file and recompile it to test your new ideas further.
- Mr. Shashi Bhushan Rai, Bhojpur Consulting, Arrah, Bihar
- Mrs. Bimla Pandey, Bhojpur Consulting, Arrah, Bihar
- Ms. Divya Rai, Bhojpur Consulting, Arrah, Bihar
- Ms. Anushka Rai, Bhojpur Consulting, Arrah, Bihar
This software is created and distributed originally by