Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Post code

Name: Anonymous 2011-10-06 9:06

Any code you work with right now, and we'll criticize it(or not).

Name: Anonymous 2011-10-06 18:39

>>28
Do you put both of your bookends on the same side of your books? probably

>>26
Would it have helped if I had written it like this?

  char day_name[7][10];
  int i;

  for (i = 0; i < 7; i++)
  {
    switch(i)
    {
      case 0: strcpy(day_name[i], "Sunday");
      case 1: strcpy(day_name[i], "Monday");
      case 2: strcpy(day_name[i], "Tuesday");
      case 3: strcpy(day_name[i], "Wednesday");
      case 4: strcpy(day_name[i], "Thursday");
      case 5: strcpy(day_name[i], "Friday");
      case 6: strcpy(day_name[i], "Trollday");
    }
  }

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List