Skip to main content
Code Review

Return to Answer

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
  • Remove the commented out code (that's why we have source control so you can retrieve temporary deleted code) because it confuses the reader

  • Always put curly brackects around your for loops and indent properly:

     for(int i=0; i<size; i++) {
     cout << winningDigits[i] << " ";}
    
  • Remove the commented out code (that's why we have source control so you can retrieve temporary deleted code) because it confuses the reader

  • Always put curly brackects around your for loops and indent properly:

     for(int i=0; i<size; i++) {
     cout << winningDigits[i] << " ";}
    
added 79 characters in body
Source Link
Loki Astari
  • 97.7k
  • 5
  • 126
  • 341
  • Remove the commented out code (that's why we have source control so you can retrieve temporary deleted code) because it confuses the reader

  • Always put curly brackects around your for loops and indent properly:

     for(int i=0; i<size; i++) {
     cout << winningDigits[i] << " ";}
    
  • Remove the commented out code (that's why we have source control so you can retrieve temporary deleted code) because it confuses the reader

  • Always put curly brackects around your for loops and indent properly:

     for(int i=0; i<size; i++) {
     cout << winningDigits[i] << " ";}
    
Source Link
Caridorc
  • 28k
  • 7
  • 54
  • 137
lang-cpp

AltStyle によって変換されたページ (->オリジナル) /