Hi, i have a function i made that stores the string you type into an array the function then returns that array. Now the problem is i have a file stream that needs a file name,
fnameptr(points to fnamearray[]) = keyboardfunc(); how would i get this to work if its even possible?
the keyboardfunc() returns the array of what you typed (the array has a max thats definable, both the fnameptr and array returned by keyboardfunc() have the same size array).
I've tried multiples things to no avail.
Any help or any explanations would be appreciated. If i didnt explain something well enough or you need more info about the code please let me know.
fnameptr(points to fnamearray[]) = keyboardfunc(); how would i get this to work if its even possible?
the keyboardfunc() returns the array of what you typed (the array has a max thats definable, both the fnameptr and array returned by keyboardfunc() have the same size array).
I've tried multiples things to no avail.
Any help or any explanations would be appreciated. If i didnt explain something well enough or you need more info about the code please let me know.