hi, my second question of the day
so what i'm now trying to do is to dynamically declare a variable something like this:
Is something like tjis even possible in c ???Code:void *myFunction(char *type){ if (*type == 'S'){ SSeq *string = NULL; } else if (*type == 'Q'){ QSeq *string = NULL; } // Here i would like for my string to be either SSeq of QSeq.
thank you
baxy
PS
SSeq and QSeq are both structures defined in header file



LinkBack URL
About LinkBacks




