- Timestamp:
- 01/06/15 06:14:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/genomanipulation.cpp
r289 r291 17 17 */ 18 18 19 StdoutErrorHandler err; //redirect model-related errors to stdout20 19 PreconfiguredGenetics genetics; 21 20 … … 131 130 { 132 131 printf("Similarly as with Part, the full list of properties comes first:\n\n"); 133 CHANGE_ONE_PROPERTY(j->properties());132 PRINT_PROPERTIES(j->properties()); 134 133 printf("\nActually, there are two kinds of Joints: delta and absolute.\n" 135 134 "For this object, Joint::isDelta() returns %d, so this is the %s Joint.\n", … … 243 242 if (n->getInputCount()>0) 244 243 { 245 printf("input info0 = \"%s\"\n",(const char*)n->getInputInfo(0));246 printf("input info 0 abc = \"%s\"\n",(const char*)n->getInputInfo(0,"abc"));244 printf("Info for input #0 = \"%s\"\n",(const char*)n->getInputInfo(0)); 245 printf("Info for input #0, field \"%s\" = \"%s\"\n", "abc", (const char*)n->getInputInfo(0,"abc")); 247 246 n->setInputInfo(0,"test",44); 248 247 n->setInputInfo(0,"abc","yeah"); … … 267 266 int main(int argc,char*argv[]) 268 267 { 268 StdoutErrorHandler err; //redirect model-related errors to stdout 269 269 270 srand(time(0)); 270 271 printNiceBanner("Welcome to Genotype Manipulation App!");
Note: See TracChangeset
for help on using the changeset viewer.