Project 1 Feedback.

  1. Non-working code is not worth grading.
  2. Your code MUST compile with my flags.
  3. This is TOTALY unacceptable on two levels.
  4. Never:
  5. Don't put using namespace std in a .h file.
  6. What is our standard for naming identifiers?
  7. This really is a palindrome
  8. Could this routine be simplified?
            PalindromeT pal = ClassifyLine(inputLine);
    
            switch(pal){
                case PalindromeT::PERFECT:
                    cout<<"\""<<maybePalindrome<<"\" is a perfect palindrome."<<endl;
                    break;
                case PalindromeT::NATURAL:
                    cout<<"\""<<maybePalindrome<<"\" is a natural palindrome."<<endl;
                    break;
                case PalindromeT::PALINDROME:
                    cout<<"\""<<maybePalindrome<<"\" is a palindrome."<<endl;
                    break;
                case PalindromeT::NONPALINDROME:
                default:
                    cout<<"\""<<maybePalindrome<<"\" is a non-palindrome."<<endl;
            } 
  9. For input