during these days working ,the thought of coding,
when come to a task,you should :
1.get the aim point of it.
where ,how,why,when,who.
2.get where to compile it,don't rush to task and a long time get nothing ,just a big mess in head.
go from the basic point.
learn to finish a project,
the analyze of the project step by step.