Changeset 145 for cpp/frams/_demos/multiline_f0_test.cpp
- Timestamp:
- 02/26/14 20:21:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/multiline_f0_test.cpp
r124 r145 8 8 #include <frams/virtfile/stdiofile.h> 9 9 10 #include <frams/genetics/preconfigured.h> 10 11 #include <frams/model/model.h> 11 #include <frams/genetics/defgenoconv.h>12 12 #include <frams/errmgr/stdouterr.h> 13 13 #include <frams/virtfile/stringfile.h> 14 14 15 StdoutErrorHandler err; //redirect model-related errors to stdout16 DefaultGenoConvManager gcm; //without this object the application would only handle "format 0" genotypes17 18 15 int main(int argc,char*argv[]) 19 16 { 17 StdoutErrorHandler err;//the default ErrorHandler constructor automatically registers this object to receive framsg messages (and in this case, redirect them to standard output) 18 PreconfiguredGenetics genetics; 19 20 20 SString gen(argc>1?argv[1]:"X[|G:1.23]"); 21 21 if (!strcmp(gen,"-"))
Note: See TracChangeset
for help on using the changeset viewer.