What is wrong with the four sample files and tutorials available at GLFW's website, the GLFW User's guide, or the GLFW Reference manual, all of which are very detailled and didactically excellent?
Also please do note that we neither run a GLFW, nor OpenGL, nor game programing forum. This is a forum about Code::Blocks.