Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   FILE concepts in C (http://www.go4expert.com/forums/file-concepts-c-t6893/)

aswinikg 17Oct2007 17:48

FILE concepts in C
I am a newbie to 'C' and embedded application . I have a code in which the input parameter is being assigned in two ways

(i) Runtime through user
(ii) parameter tile

the problem is, i can't give the runtime input as am a in need of creating a standalone product without user interaction.

the parameters in the parameter file is assigned as the input by "FILE" pointer concepts which is stored in some "D:\input \parameter.par" .
But, i could not store the parameter file in my kit memory and use "FILE" pointer concepts.
Is it possible for me to use "FILE" pointer concepts in my programming. If it is so how can i store the parameter.par file in the kit's memory.
I tried with some unsigned char * instead of "FILE" pointer but it works somewhat .

Help me in this regard,


All times are GMT +5.5. The time now is 09:20.