Objectives :

  • myNotEqualOperator2
  • ! operator
  • != to opertaion
  • File Stream : fstream, ifstream
    • reading the content of a text file
    • ifstream variable (char*s, streams)
      • char ch1[100];
        ifstream data;
  • Intranet user: PC11, window server 2008
  • code :

Step: 1 Create a project

Step: 2 Create a source file

Add a New File

Step: 3Add some text the text file

 Edit Source code : while using the code, you may like to use "cout<<" to keep the coding pattern resembling with good old C++

Step: 4 Runtime View

Step: 5b