Changeset 64 for cpp/gdk/gdktest.cpp


Ignore:
Timestamp:
01/28/11 23:29:40 (13 years ago)
Author:
Maciej Komosinski
Message:

a lot of minor fixes

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-2006  Szymon 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.
    44
    55#include <stdlib.h>
     
    249249}
    250250
     251void findingConverters()
     252{
     253GenoConverter *gc=gcm.findConverters(0,'1');
     254if (gc) printf("found converter accepting f1: \"%s\"\n",gc->name);
     255SListTempl<GenoConverter*> found;
     256gcm.findConverters(&found,-1,'0');
     257printf("found %d converter(s) producing f0\n",found.size());
     258}
     259
    251260int main(int argc,char*argv[])
    252261{
    253262srand(time(0));
    254263printNiceBanner("Welcome to GDK test application!");
     264
     265findingConverters();
    255266
    256267//Geno g(argc>1?argv[1]:"X[|G:1.23]");
Note: See TracChangeset for help on using the changeset viewer.