Simple Night Lamp on timer yet I'm lost!

Yes the full C/ C++ language can be tough when starting IF you are looking to understand the full language including three dimensional arrays, structures. indexed pointers and passing pointers to functions

BUT - you don't need all of that for what you want to do - that is why I suggested the intro's above geared specific to Arduino and beginners - basic things like a bit of delay is only a bit confusing the first time as you will probably need the mills timing which the first time through I had to go slow - but got there

Please start simple at the beginning

Good luck