C++ Examples

Point - 2D point
B1 - single-bit state and operations
B2 - two-bit state and operations
Q1 - single-qubit state and operations
Q2 - two-qubit state and operations
tictoc - measure CPU and elapsed time, qsort() and threads
LL - singly linked list framework
Stack - stack using LL
Queue - queue using LL
Tree - binary search tree framework
string-at.cc - using string at()
string+vector.cc - vector of string
vector-resize.cc - using vector resize()
vector-test.cc - vector and iterators
vector+string.cc - vector initialization

vecr - single file format

zyb - zyBooks examples