title: have no idea why for loop won't print, have checked so many times that the format is right
body: <pre><code>#include &lt;stdio.h&gt;
  int v;
  
  int main(int argc, const char * argv[])
  {
      printf("works\n");
  
      for(v= 0; v&gt;10; v++){
          printf("%d", v);
          printf("|\n|\n|\n|\n");
      }
  
      return 0;
  }
  </code></pre>
  
  <p>hello, what's wrong? this loop won't print.
  i genuinely don't know why it won't print. my god why won't stackoverflow let me post my question. this is part of a larger main function. didn't work there so i tried in a separate script, still didn't work. googled and looked at my textbook for the for loop format, it's all spot on. i don't know why it won't work</p>