cloc

How can I make a batch file to run the same cloc command with one click?

To run the command: cloc-1.08.exe wizardry Obviously I don't want to go into DOS every time I want to do a line count. ...

count specific things within a code in c++

can anyone help me make this more generalised and more pro? #include <fstream> #include <iostream> #include <string> #include <vector> using namespace std; int main() { // open text file for input: string file_name; cout << "please enter file name: "; cin >> file_name; // associate the input file stream with a text file i...