title: Create my own pre-name like "std" in C++
body: <p>Generally when somebody creates a console program he writes </p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;stdlib.h&gt;
  
  int main(){
      std::cout&lt;&lt;"hello world"&lt;&lt;std::endl;
      system("pause");
  }
  </code></pre>
  
  <p>The <code>std</code> must be included to call <code>cout</code> and <code>endl</code> statements.</p>
  
  <p>When I create a library using the headers and the code in the <code>.h</code> and <code>.cpp</code>, and then I include that library, I must use the name of functions/clases/structs/etc directly. How can I make it so I have to use a pre-word like the <code>std</code> for <code>cout</code> and <code>endl</code>?</p>