title: What do __cdecl and (void) mean?
body: <p>I'm currently programming a tcp/ip server using WSA. After some troubleshooting a friend of mine said that i should use <code>bool __cdecl winsock_server ( void )</code> instead of <code>bool winsock_server()</code>.</p>
  
  <p>But he didn't explain to me what <code>__cdecl</code> and <code>(void)</code>
  are doing. I already know that <code>__cdecl</code> changes the way how arguments are put on the stack on assembler level, but what does <code>(void)</code> mean?</p>
  
  <p>I should point out that I'm new to C++. I only programmed in C# and VB.NET before. </p>
  
  <p>Thanks in advance!</p>