Simple program to explain SDL rendering
SDL stands for Simple DirectMedia Layer library. SDL is a cross-platform graphics library that provides low-level access to graphics, audio, keyboard hardware via OpenGL and Direct3D. SDL is well-ported to Windows, Mac OS, Linux, Android, and iOS.
SDL is written in C, works with minimal effort with C++, also there are many bindings available for other languages like C#.
Simple SDL program example to explain rendering and keyboard handling