unable to use gets(); and puts(); in c++ program
<p>unable to use <code>gets()</code>; and <code>puts()</code>; </p>

<p>In c++ program </p>

<blockquote>
  <p>error : function should have a prototype</p>
</blockquote>

<p>code :</p>

<pre><code>.
.
gets(name);
or puts(name);

.
.
</code></pre>

<p>i have included header file <code>string.h</code></p>
