Re: Class Implementation

angus@EDGIL.CCMAIL.COMPUSERVE.COM
Date: 08/08/97


     Quote ------>
  sscanf(line, "%s %s %d %s %c", f1, f2, t + 2, &race_letter, &letter);
  .
  .
  .
  LOWER(race_letter);
  .
  .
  .
  switch (race_letter)
  {

  case 'h':
     <------ Quote
     race_letter is a pointer to an array

     'h' is a char

     the test should be on race_letter[0]; or you should make race_letter
     take in a %c

     -Angus


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST