æ¤£æ¹¦æ•¤â¦ä¥†ä‘Žä¥„ä± ää¡Ÿà¨æ£æ™¥æ¹©â¥ä¥ ä‘Žä¥„ä±ää¡Ÿà¨à¨æ £æ‘®æ™©â¼ â€¯ä¥†ä‘Žä¥ ä±ää¡Ÿà¨

I don't know what that is, it just appeared on my newly created header file for a project. it has red line under it. when I hover my mouse over, it displayed expected a declaration.

਍
also appared on my newly created cpp file that defines my header file.

at first, I just simply delete these undefined rubish. however, I can't get my project to compile. It produced bunch of errors.

stray '\377' in program
stray '\376' in program
stray '#' in program

lots of null character ignored

the following is my code for the header file

Qt Code:
  1. #ifndef FindDialog_h
  2. #define FindDialog_h
  3.  
  4. #include <Qdialog>
  5.  
  6. class QCheckBox;
  7. class QLabel;
  8. class QLineEdit;
  9.  
  10. class FindDialog : public QDialog
  11. {
  12. Q_OBJECT
  13.  
  14. public:
  15. FindDialog(QWidget *parent = 0);
  16.  
  17. signals:
  18. void findNext(const QString &str, Qt::CaseSensitivity cs);
  19. void findPrevious(const QString &str, Qt::CaseSensitivity cs);
  20.  
  21. private slots:
  22. void findClicked();
  23. void enableFindButton(const QString &text);
  24.  
  25. private:
  26. QLabel *label;
  27. QLineEdit *lineEdit;
  28. QCheckBox *caseCheckBox;
  29. QCheckBox *backwardCheckBox;
  30. QPushButton *findButton;
  31. QPushButton *closeButton;
  32. };
  33.  
  34. #endif
To copy to clipboard, switch view to plain text mode 

I deleted the rubish at the begining