A simple CLI chat program in C/C++