lightspd
asked on
Reading in file extension from user input
Currently I have.
char *baseDir=".\\*."
what I want to do it be able to take a user input of variable length and add it to the end of the char. I've tried strcpy and couple other ways. Even tried reading in the users input as a char and just doig a for loop to add to the end. I would appreciate any help.
Cheers.
char *baseDir=".\\*."
what I want to do it be able to take a user input of variable length and add it to the end of the char. I've tried strcpy and couple other ways. Even tried reading in the users input as a char and just doig a for loop to add to the end. I would appreciate any help.
Cheers.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER