Lost Password?

  #1 (permalink)  
Old 06-24-2006, 11:59 AM
NeedHelp NeedHelp is offline
Programming God
 
Join Date: May 2006
Posts: 527
Rep Power: 12
NeedHelp is on a distinguished road
Default Binary?

I dont understand the difference between binary data files from other programs and what my program produces. Let me start by example, this is what another programs data file is which is just a list of connections (note: all of it would not paste):

’ôý*É8ý$Øâß¿Ï?

After declaring a binary write and writing my information to a file this is what I get:

Binary Writer ClassNumbers will appear nextÇ/

What gives? Why can I see the text in mine and not in the one above? Where can I find information about this? I've searched the net but all I find is tutorials on how to write the same code as my program produces.

I'm using Visual Studio 2005 Managed c++ to produce these results.
__________________
I Need Help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 06-26-2006, 02:11 PM
RobSoftware RobSoftware is offline
Programmer
 
Join Date: Nov 2005
Posts: 143
Rep Power: 11
RobSoftware is on a distinguished road
Default

As I understand it each compiler will produce its own "binary" looking code. Java vs C++ will look different. I know in 2005 c++ the text in Binary mode is still legible. You will have to encrypt anything that you do not want the user to see or change.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-27-2006, 03:49 PM
Void's Avatar   
Void Void is offline
Programming Expert
 
Join Date: Jun 2006
Posts: 410
Rep Power: 11
Void is on a distinguished road
Default

Quote:
Originally Posted by RobSoftware
As I understand it each compiler will produce its own "binary" looking code. Java vs C++ will look different. I know in 2005 c++ the text in Binary mode is still legible. You will have to encrypt anything that you do not want the user to see or change.
I don't know about each one producing its own binary but in VS.NET 2005 the text is very legible in binary. int, double, float, etc... isn't legible though.
__________________
Void
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-18-2006, 07:57 PM
NeedHelp NeedHelp is offline
Programming God
 
Join Date: May 2006
Posts: 527
Rep Power: 12
NeedHelp is on a distinguished road
Default

So there is no way to hide text in binary unless I encrypt first?
__________________
I Need Help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-27-2006, 02:59 PM
brackett brackett is offline
Programmer
 
Join Date: May 2006
Posts: 193
Rep Power: 10
brackett is on a distinguished road
Default

Are you doing a binary serialization of a class/structure?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing to binary file paul. Pascal/Delphi 4 04-13-2007 08:23 PM
Binary, Decimal, Hex, the Manual way!! TcM Tutorials 22 01-10-2007 12:06 AM
Determine if a file is binary Nightracer C# Programming 5 09-16-2006 02:26 PM
Storing Binary NeedHelp Database & Database Programming 3 06-27-2006 04:09 PM
Binary Conversion in VB roger Visual Basic Programming 0 06-01-2006 10:50 AM


All times are GMT -5. The time now is 11:52 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
LogicKills ........ 20.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads