Changeset 348 for cpp/frams/_demos/genooper_test.cpp
- Timestamp:
- 04/09/15 23:51:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/genooper_test.cpp
r286 r348 9 9 { 10 10 printf("Genotype: %s\nFormat: %c\nValid: %s\nComment: %s\n", 11 (const char*)g.getGene(), g.getFormat(), g.isValid() ? "yes" : "no", g.getComment().len() == 0 ? "(empty)" : (const char*)g.getComment());11 g.getGene().c_str(), g.getFormat(), g.isValid() ? "yes" : "no", g.getComment().len() == 0 ? "(empty)" : g.getComment().c_str()); 12 12 } 13 13 … … 47 47 printGenAndTitle(gvalidated, "validated"); 48 48 49 printf("\nHTMLized: %s\n", (const char*)genetics.genman.HTMLize((const char*)gvalidated.getGene()));49 printf("\nHTMLized: %s\n", genetics.genman.HTMLize(gvalidated.getGene().c_str()).c_str()); 50 50 51 51 return 0;
Note: See TracChangeset
for help on using the changeset viewer.