In the previous two blog posts ( Understanding Fold Expressions and Folding Functions ) we looked at the basic usage of C++17 fold expressi...
calculator program in c++ using functions
Write a program for a simple c++ calculator which have different functions for different operations . Make a menu base selection screen usin...
Folding Functions
In the last post we looked at basic usage of C++17 Fold Expressions. I found that many posts on this topic discuss simple types and ignore h...
Understanding Fold Expressions
C++17 has an interesting new feature called fold expressions . Fold expressions offer a compact syntax to apply a binary operation to the el...
fibonacci series number c++ using while loop example
A program can be coded in different ways and this example shows how to find a number which is in Fibonacci series or not using do while loop...
Dependently-typed Curried printf in C++
Just a few days ago I came across an intriguing blog-post about type-safe printf using dependent typing. The blog-post has since become in...
stack implementation in c++ using array source code
Stack in C++ program This c++ program has 10 functions. Each function calls on menu based selection using switch statement (functions names ...