Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Writing to a binary file
alobiuc
19y
5.7k
1
Reply
How can I write a struct-type variable to a binary file? e.g.: struct mystruct { int x,y; string mystring; public mystruct(int n) { x=y=n; mystring="Hi"; } } ... mystruct m = new mystruct(1); Ok, now I wanna write m to a file. How?
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
read & write
Control.OnKeyPress question