title: How do I link to a library with Code::Blocks?
body: <p><a href="https://stackoverflow.com/questions/2180755/c-gui-tutorial-undefined-reference-to-textout/2180782#2180782">C++ GUI Tutorial: undefined reference to TextOut</a></p>
  
  <p>I have the same problem, but I'm new to programming and Code::Blocks, and I want to use the GDI32 library. How can I install it? I'm very confused because I can use the windows.h header, but some functions like <code>TextOut</code> aren't available.</p>