There's your problem in a nutshell... you are thinking about source code and C programming... but you're not ready for that just yet.

First step... understand the problem itself... exactly what...