title: warning: implicit declaration of function 'system'
body: <p>I am getting an error in my compiler:</p>
  <pre><code>Warning: implicit declaration of function 'system'
  </code></pre>
  <p>I added:</p>
  <pre><code>system(&quot;cls&quot;);
  </code></pre>
  <p>To be able to clear the screen, and now I get the error. I am using this code to test:</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  int nothing; //random name
  
  int main()
  {
  printf(&quot;this is a msg&quot;);
  scanf(&quot;%d&quot;,&amp;nothing);
  system(&quot;cls&quot;);
  printf(&quot;hello&quot;);
  getchar();
  
  return 0;
  }
  </code></pre>
  <p>This is just a test code, so it's very sloppy. I am new to coding so any help would be appreciated.</p>