// // Programmer: Craig Stuart Sapp // Creation Date: Sun May 26 21:42:21 PDT 2002 // Last Modified: Sun May 26 21:42:24 PDT 2002 // Filename: ...sig/examples/all/plainkern.cpp // Web Address: http://sig.sapp.org/examples/museinfo/humdrum/plainkern.cpp // Syntax: C++; museinfo // #include "humdrum.h" #include // function declarations void checkOptions (Options& opts, int argc, char* argv[]); void example (void); void printAnalysis (HumdrumFile& infile); void usage (const char* command); // global variables Options options; // database for command-line arguments int debugQ = 0; // used with the --debug option /////////////////////////////////////////////////////////////////////////// int main(int argc, char* argv[]) { HumdrumFile infile; // process the command-line options checkOptions(options, argc, argv); // figure out the number of input files to process int numinputs = options.getArgCount(); for (int i=0; i