well i am trying to pass this parameter in a function --> char*[I]filename[/I]
[U][B]//i just wrote this as an example to explain clearer my question[/B][/U]
void try (char *[I]filename[/I]) //[B] the question is how can i use the pointer to refer to a file? [/B]
int main ()
try is a keyword. Also, have you already allocated the memory space for character array pointed to by *filename? (By allocate, I mean like char buffer;myFilename=(char*)buffer;try(myFilename); or myFilename=new char;try(myFilename);
i am trying to create a library management system which is supposed to be used to store/keep infp for the library and the library members( book title, author, name and picture for borrower and other stuffs). The app has 6 buttons, delete, save, add,previsous,next, and upload( for upload ...