constvoid insertStuff(constvoid *key, constint value){
// I want to convert the void pointer into one
// of three types of pointers(int, string, or double)
switch(value){
case 0:
int *intPtr = key;
break;
case 1:
double *doublePtr= key;
break;
case 2:
string *strPtr = key;
break;
}
}
But this causes an error of: "crosses initialization of int*intPtr"