Let's start with step 1. Please provide me an example code for that part. The code should work on windows, the compiler is gcc.