title: Console Write Wrapper in Windows
body: <p>When we wrote a simple program like the following one in C++:</p>
  
  <pre><code>int main(){
      cout &lt;&lt; "Something" &lt;&lt; endl;
      return 0;
  }
  </code></pre>
  
  <p>In Linux finally, write system call will be called in order to output the "Something" character sequence in the console. I wonder to know, what system call will be called in Windows (Windows 7 later) and how can I found out that information? </p>
  
  <p>In Linux, we have a program like strace to find this information but for Windows, I didn't find out anything special. Can someone explain this process in Windows? I want to trace system calls that triggered by Windows. </p>
  
  <p>In other word, I want to know what will happen when we use cout in cpp and how this operator can to write something in the standard output. </p>