#include<.........> #include <fstream> #include<........> int main() { ........a; ........count=0; ........myFile("out.dat"); while(myFile >> a) { if(a ............'C') Count=count.....; } cout<< ........ <<"\n"; getchar(); return 0; }
std::count
std::iostream_iterator
std::ifstream
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)