[galib] Problems with GAAlleleSet and GAAlleleSetArray

Adrovane Marques Kade adrovane at fw.uri.br
Tue Jan 20 06:55:06 EST 2004


I'm new to C++ programming and GALib, so I need your help. I'm trying to use
GAAlleleSet and GAAlleleSetArray in version 2.4.5, but I'm getting an error
when trying to use the 'add' member function of GAAlleleSetArray. Here is my

	char exonSet[] = {'A','B','C','D','E'};
	char intronSet[] = {'i'};
	GAAlleleSet<char> exonAlleles(5, exonSet);
	GAAlleleSet<char> intronAlleles(1, intronSet);

	GAAlleleSetArray<char> intronSetArray();
	for (int i=0; i<6; i++)

The error message is:

request for member `add' in `intronSetArray()', which is of non-aggregate
type `GAAlleleSetArray<int> ()()'

Thank you in advance for any help.


Adrovane Marques Kade
Professor da URI - Campus de Frederico Westphalen
Departamento de Engenharias e Ciência da Computação
Frederico Westphalen - Rio Grande do Sul - Brasil
adrovane at fw.uri.br - http://fw.uri.br/~adrovane
Linux User #290119

More information about the galib mailing list