Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wrong about write data into Bodgitt and Scarper's db file.

 
Wills Ni
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The write code is :

I found some "0"(type byte) was write into my db file between the records i write.It's length is as long as what i write.I can copy the result to this forum.I did'nt know what happens.Any one can tell me? thanks!
[Andrew: put the source code between [code] and [/code] UBB tags]
[ April 08, 2004: Message edited by: Andrew Monkhouse ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Wills,
Welcome to JavaRanch.
I have edited your post to put the code between [code] and [/code] UBB tags. Doing this ensures that indenting is preserved, which makes the code easier to read.
When you are writing your post, there are a number of buttons just below the edit pane, which will insert the tags for you, so you don't have to remember what they are.
If you would like to edit your original post so that you can see what I have done, you can click on the button that is just above your post.
I could suggest some improvements to your code, (and suggest a different method call to use), but I think we should leave that until after you get your current code working.
Perhaps you could post an example of what is appearing in your file.
Regards, Andrew
 
Wills Ni
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you! It's my mistake.I have correct wrong program.
But how to improve my parogram?
[ April 08, 2004: Message edited by: Wills Ni ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic