Read in a certain line only? : <p>I'm making a program to read in a configuration file and I only want to read certain lines. Example:</p>

<p>config.txt:</p>

<pre><code>This is a test configuration text file
It isn't supposed to read this line or the line above it

Read this line, but not the white space above or below it

Don't read this line or the white space above or below it

Read this line, but not the white space above or below it
</code></pre>

<p>I'm using your basic I/O:</p>

<pre><code>FILE *File;
File = fopen("config.txt", "r");
</code></pre>
