Changeset 289 for cpp/frams/_demos
- Timestamp:
- 01/06/15 03:14:10 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/genomanipulation.cpp
r288 r289 177 177 "adding inputs (addInput(Neuro*)) and removing them (removeInput(int)).\n\n"); 178 178 179 printf("\nThe most unusual thing is ' itemdetails' field (d).\n"179 printf("\nThe most unusual thing is 'details' field (d).\n" 180 180 "It is something like separate object with its own set of properties.\n" 181 181 "Currently the value of 'd' is '%s'.\n",(const char*)n->getDetails()); … … 188 188 { 189 189 190 printf("'%s' is the class name (Neuro Item::getClassName() == '%s') and means '%s'.\n",190 printf("'%s' is the class name (Neuro::getClassName() == '%s') and means '%s'.\n", 191 191 (const char*)cl->getName(),(const char*)cl->getName(),(const char*)cl->getLongName()); 192 192 printf("Neuro::getClass() gives you information about basic characteristic\n" … … 209 209 p.update(); 210 210 n->getModel().close(); 211 printf("After that, ' itemdetails' contains the new object: '%s'.\n",(const char*)n->getDetails());211 printf("After that, 'details' contains the new object: '%s'.\n",(const char*)n->getDetails()); 212 212 } 213 213 else … … 228 228 } 229 229 int cl=rand() % n->getClassCount(); 230 printf("\nLet's change the Neuro Item's class to '%s'...\n",(const char*)n->getClassName(cl));230 printf("\nLet's change the Neuro's class to '%s'...\n",(const char*)n->getClassName(cl)); 231 231 n->getModel().open(); 232 232 n->setClass(n->getClass(cl));
Note: See TracChangeset
for help on using the changeset viewer.