title: Converting from WORD to char*
body: <p>I'm trying to create a log file that logs all of the users requests with a time stamp. Here is how I'm building it:</p>
  
  <pre><code>char logMessage [1000];
  SYSTEMTIME st;
  GetSystemTime(&amp;st);
  strcpy(logMessage, st.wYear);
  </code></pre>
  
  <p>However, st.wYear returns a WORD and strcpy will only take char*.
  I need the char* because I plan on using fputs to tack in on to the end of a file I create. </p>
  
  <p>What are the workarounds I can use or how can I properly convert the WORD into a char*?</p>