title: Practicing PostgreSQL with C in Visual Studio
body: <p>I would like to practice and prepare to use a server-based PostgreSQL database, for an upcoming school assignment.
  The assignment will require me to write programs in C that can execute a variety of queries, as well as check their validity, etc.</p>
  
  <p>I cannot find any definitive guide online to setting up PostgreSQL with Visual Studio and C.
  I understand that I need to use a <code>libpq-fe</code> header file but when I download it from <code>PostgreSQL</code> and <code>#include</code> it, I still get linking errors and more. It's a mess.</p>
  
  <p>Can someone guide me (and future users with this problem) through the process of setting this up?</p>