hai i want to read & write .xml or .txt file ..... i dont know how to do this.....kindly help me.......... thanks in advance
Of course you can - if you really want to!
It's just that they are not "built-in" with Keil C51 - so you would have to implement them yourself.
"i am using WINBOND W77E58 controller"
And where, exactly, will these files be stored...?
What physical storage medium are you using?
How is that storage medium physically connected to your WINBOND W77E58 controller?
so i cant do File operations like ANCI C..... Actually i am using WINBOND W77E58 controller
What 8051 are you using and what is the text file on?
Keil C51 provides no built-in file support - see:
http://www.keil.com/support/man/docs/c51/c51_xa_librarydif.htm
Therefore, if you want file support, you will have to implement it yourself, or incorporate some 3rd-party support.
You would also, of course, need some storage medium capable of holding your files...
Or, as already suggested, leave the file handling to a PC, and just have it send the data over a serial link, or similar...
Open serial port. Wait for text file to be transmitted from PC. Process contents.
tel me how to read a .txt file in KEIL c
Very well then. Maybe the OP can enlighten us?
But there are embedded equipment that supports receiving or emitting XML data. For example motor-driven cameras that accepts XML commands to pan, tilt, zoom, ...
View all questions in Keil forum