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; data.open("data.txt"); data.read(ch1,100); Intranet user: PC11, window server 2008 code : as shown in the images : myNotEqualOperator2a.txt removed Trace : myNotEqualOperator2b.txt
Objectives :
Step: 1 Create a project
Step: 2 Create a source file Add a New File
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: 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