https://software.codidact.com/categories/44/tags/4146.rssNew Posts Tagged 'scanf' - Software DevelopmentSoftware Development - Codidact2022-02-17T07:18:31Zhttps://software.codidact.com/posts/285965Is it OK to use scanf with a void pointer?hkotsubohttps://software.codidact.com/users/530782022-02-16T14:51:07Z2022-02-17T07:18:31Z<p>I've created a function that calls <code>scanf</code> passing a void pointer as argument:</p>
<pre><code class="language-c">void read(const char *format, void *p) {
scanf(format, p);
}
<...https://software.codidact.com/posts/278837Counting number of assignments that a `fscanf` format strings impliesklutthttps://software.codidact.com/users/81962020-10-27T19:06:28Z2021-08-12T10:28:25Z<p>I'm writing a function that counts the number of assignments for a <code>fscanf</code> format string. I studied the documentation in <a href="http://port70.net/~nsz/c/c11/n1570.html#7.21.6.2">C ...