csv file problem
-
what you want to do?if you have read data in buffer then must be contain data in buffer.I think some where in you code buffer have lost data.Please check it.
when i run the application first time buffer contains correct data of file but when i close and run the application again and read file data in buffer then buffer contains empty?
-
when i run the application first time buffer contains correct data of file but when i close and run the application again and read file data in buffer then buffer contains empty?
-
i read the data of a csv file in a buffer and then update the csv file.when i run the application and try to read the data again in buffer it shows empty even when file contains data.wat the problem may be?
Member 590310 wrote:
and then update the csv file
What will be done here ? :)
virtual void BeHappy() = 0;
-
Member 590310 wrote:
and then update the csv file
What will be done here ? :)
virtual void BeHappy() = 0;
actually i detected the problem first time it copies all the data of file in buffer but in next executions it reads data from file only one character at a time.i dnt knw wat is the reason?
-
when i run the application first time buffer contains correct data of file but when i close and run the application again and read file data in buffer then buffer contains empty?
Are you releasing the file properly when your application closes? :)
Ali
-
actually i detected the problem first time it copies all the data of file in buffer but in next executions it reads data from file only one character at a time.i dnt knw wat is the reason?
Can you open your file by Notepad.exe before and after the first running ? :)
virtual void BeHappy() = 0;
-
Can you open your file by Notepad.exe before and after the first running ? :)
virtual void BeHappy() = 0;
yes i do there are no changes in file before and after running..
-
i read the data of a csv file in a buffer and then update the csv file.when i run the application and try to read the data again in buffer it shows empty even when file contains data.wat the problem may be?
Member 590310 wrote:
wat the problem may be?
The problem may be that you've briefly described the issue, yet have shown no code to go along with that. At this point, it could be anything. Be specific!
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
yes i do there are no changes in file before and after running..
:confused: :-D :thumbsup: Do you read by the same function in the both cases ? :)
virtual void BeHappy() = 0;
-
actually i detected the problem first time it copies all the data of file in buffer but in next executions it reads data from file only one character at a time.i dnt knw wat is the reason?