Leetcode Number Of Islands C++ Depth First Search Example

Posted on Sun 03 October 2021 in tech • Tagged with programming, Leetcode, C++, DFS

Number of Islands Recursive Graph Traversal

Depth First Search


Complete working example of Protocol Buffers in C++ with CMake and a Dockerfile

Posted on Thu 30 September 2021 in tech • Tagged with programming, Protobuf, C++, CMake, Linux, Docker

Protocol Buffers complete working example with CMake and Docker for C++

Protobuf


Complete working example gRPC in C++ with CMake and a Dockerfile

Posted on Thu 23 September 2021 in tech • Tagged with programming, gRPC, C++, CMake, Linux, Docker

Sometimes and example is worth a thousand words. In this installment gRPC C++ with CMake FetchContent and a Dockerfile.

gRPC


istream_iterator

Posted on Fri 18 June 2021 in tech • Tagged with programming, chunked, iterator, c++

Although c++ is already imbued with the kitchen sink, it seems to lack a chunked character iterator for input streams.

Here is a little repository to implement that: Block Iterator

An example looks like any istream iterator idiom:

constexpr auto N = 3;
const auto example = "AAABBBCCC";
std::istringstream ss(example …

Continue reading

Twenty Spheres

Posted on Mon 17 May 2021 in tech • Tagged with programming, graphics, c++

twenty speheres

A little c++ shader toy that I wrote for rendering a light model. Twenty Spheres This program is based on a classic computer graphics problem.

Yes...15 spheres are shown here!


Announcing RPN

Posted on Sun 03 May 2020 in tech • Tagged with calculator, GPLv3, lex, yacc, c++, programming

RPN is a reverse polish command line calculator and repl. It is written in C++ with Lex and Yacc generated grammar. RPN provides a similar syntax as classic reverse polish calculators. I have just released it under the GNU GPLv3 on my github page.