Hi all, i got a bit of a problem...
If i had the above code, and later in the code wanted to asign to man the same value without the extension. how would i go about doing that.Code:char name[30];
char man[30];
.
.
.
//some value assigned to name
.
.
.
sprintf(man, "%s", &name);//where name is of the format ABECD.aid
i do not know the lengh of name, and the name is different each time. so is the extension.
all help is greatly appreciated.