Don't attempt to write all this at one time. Code a little bit, compile, correct errors, then repeat. Many new programmers make the mistake of attempting to write everything all at one time, which can lead to millions of error messages as a lot of confusion. So take it in small steps, evern professional programmers do that when they write large programs.
Amen to that AD! After 30+ years of software development, I still write things a bit at a time. If the structures and interfaces are complex, I stub them out first until I am ready to add substance to them.