title: Using stdin more than one time
body: <p>I would like to ask, if it is possible to use stdin ended with EOF more than one time. I have something like that:</p>
  
  <pre><code>int ColumnCounter = 0; 
  int Space = 1;
  long IterationCounter = 0;
  do
  {
      while ((Char = getchar()) != EOF)
          {
              if ((Char != ' ')  &amp;&amp; (Space == 1))
                  {
                      ColumnCounter++;
                      Space = 0;
                  }
              else if (Char == ' ')
                  {
                      Space = 1;
                  }
              else if (Char == '\n' || Char == '\0')
                  {
                      putchar('\n');
                      Space = 0;
                      ColumnCounter = 1;
                      continue;
                  }
              if (ColumnCounter == NumberOfCol)
                  {
                      putchar(Char);
                  }
          }
      ColumnCounter = 0;
      Space = 1;
      IterationCounter = NumberOfCol++;
      IterationCounter++;}
  while (IterationCounter &lt; EndingNumberOfCol + 1);
  </code></pre>
  
  <p>Continue in commentar below.</p>