Changeset 64 for cpp/gdk/gdktest.cpp
- Timestamp:
- 01/28/11 23:29:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/gdktest.cpp
r5 r64 1 // This file is a part of Framsticks GDK library.2 // Copyright (C) 2002-20 06Szymon Ulatowski. See LICENSE.txt for details.3 // Refer to http://www.frams .alife.pl/ for further information.1 // This file is a part of the Framsticks GDK library. 2 // Copyright (C) 2002-2011 Szymon Ulatowski. See LICENSE.txt for details. 3 // Refer to http://www.framsticks.com/ for further information. 4 4 5 5 #include <stdlib.h> … … 249 249 } 250 250 251 void findingConverters() 252 { 253 GenoConverter *gc=gcm.findConverters(0,'1'); 254 if (gc) printf("found converter accepting f1: \"%s\"\n",gc->name); 255 SListTempl<GenoConverter*> found; 256 gcm.findConverters(&found,-1,'0'); 257 printf("found %d converter(s) producing f0\n",found.size()); 258 } 259 251 260 int main(int argc,char*argv[]) 252 261 { 253 262 srand(time(0)); 254 263 printNiceBanner("Welcome to GDK test application!"); 264 265 findingConverters(); 255 266 256 267 //Geno g(argc>1?argv[1]:"X[|G:1.23]");
Note: See TracChangeset
for help on using the changeset viewer.