title: Passing Multiple Arguments to main()
body: <p>For my class I need to create a function that takes in multiple parameters at runtime:</p>
  
  <pre><code>void main(int x, int y, int generation, char *layout[20])
  </code></pre>
  
  <p>However when the program runs with my input for these variables the information is not stored and in the debugging process </p>
  
  <pre><code>run 3 3 3 Test_Round
  print x // returns 5
  print y // returns -8779
  </code></pre>
  
  <p>How do I pass multiple arguments into the main function so main will recognize the parameters I give it?</p>
  
  <p>Thanks everyone! I just used argv[1] and so on to get the proper data I need!</p>