+ 1
How to save variable for next start? -C
how to save arrays, int ,char etc in any file and load it in next start so that we have our previous data and new data in variable
10 Answers
+ 4
no but you have to define in your define header file and it will create and in built type data type
+ 4
you can do in your main function of the program
+ 3
there is another way of using those concept by including your own file.h you have to first define the header file and you can use those headers in your program
+ 2
@ahsanIqbal do you have heard about the string.h file
+ 1
i got so far is FILE *f = fopen("some file name. any better ext", "a+");
+ 1
will it save multidimensional arrary with user input?
+ 1
hmmm i wanted with user input for my proj :( anyway I'll think of something thanks btw
+ 1
can you give me an example please
0
yes string.h n strings.h