-
binary to ascii
i have a binary file and a structure (containing int,char variables)
i have to include my structure in in file and then totally convert it into ASCII file..
how can i convert it???
-
you can write your struct out easily in text, simply use text output on each field instead of writing the struct or its fields in a binary way. The << operator on a file stream is text while .write function call is binary. As for converting your existing file to text, you have to know what it contains to do so. You will have to load it and re-write it in text, based on what the file contains.
Similar Threads
-
Replies: 2
Last Post: 02-17-2006, 12:54 PM
-
By Kip Fryman in forum VB Classic
Replies: 2
Last Post: 09-07-2001, 06:19 AM
-
By Paulo Costa in forum VB Classic
Replies: 0
Last Post: 07-30-2001, 05:15 PM
-
By Brian Hogan in forum Web
Replies: 0
Last Post: 09-14-2000, 04:48 PM
-
By M.S.RamaGopal in forum Java
Replies: 0
Last Post: 07-17-2000, 07:21 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks