C++

Developing Redis applications with C++

I have found the following libraries to develop redis applications with c++ : hiredis (only available for c) redis-plus-plus (based on hiredis, available for C++) cpp-redis Asynchronous Multi-Platform, no dependency Installation of redis-plus-plus First lets install hiredis

Then we install redis-plus-plus

Using redis-plus-plus in your application I have created the following CMake to […]

Developing Redis applications with C++ Read More »

Example of Test Driven Development with C++ and Google Test

To develop a software based on “Test Driven Development” one should follow the following steps:

so let say we want to develop a binary search tree,  here I’m using Google Test. Step 1, Write enough failing Test Code so the first step would be something like this:

Step 2, Write Production code to

Example of Test Driven Development with C++ and Google Test Read More »

Dijkstra’s algorithm with C++

Dijkstra’s algorithm is an algorithm for finding the shortest path in a graph. First drawing the graph:

 

ref [1]

Dijkstra’s algorithm with C++ Read More »

Standard Exception Handler in C++ and Custom Exception Handler with Examples

Exception handling

C++ Standard Exceptions

List of Example

 

Standard Exception Handler in C++ and Custom Exception Handler with Examples Read More »

Kalman Filter Explained With Python Code From Scratch

This snippet shows tracking mouse cursor with Python code from scratch and comparing the result with OpenCV. The CSV file that has been used are being created with below c++ code. A sample could be downloaded from here 1, 2, 3. Python Kalman Filter

C++ and OpenCV Kalman Filter Rapidcsv has been downloaded from

Kalman Filter Explained With Python Code From Scratch Read More »

Eigen unaryExpr (Function Pointer, Lambda Expression) Example

 

Eigen unaryExpr (Function Pointer, Lambda Expression) Example Read More »

Matrix Decomposition with Eigen: QR, Cholesky Decomposition LU, UL

 

 

Matrix Decomposition with Eigen: QR, Cholesky Decomposition LU, UL Read More »

Eigen Memory Mapping

 

 

Eigen Memory Mapping Read More »

Eigen Arrays, Matrices and Vectors: Definition, Initialization Resizing, Populating and Coefficient Wise Operations

 

 

Eigen Arrays, Matrices and Vectors: Definition, Initialization Resizing, Populating and Coefficient Wise Operations Read More »