Closed Thread
Results 1 to 5 of 5

Thread: Binary?

  1. #1
    NeedHelp Guest

    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.

  2. CODECALL Circuit advertisement

     
  3. #2
    RobSoftware is offline Programmer
    Join Date
    Nov 2005
    Posts
    143
    Rep Power
    0
    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.

  4. #3
    Void's Avatar
    Void is offline Programming Expert
    Join Date
    Jun 2006
    Posts
    410
    Rep Power
    23
    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

  5. #4
    NeedHelp Guest
    So there is no way to hide text in binary unless I encrypt first?

  6. #5
    brackett is offline Programmer
    Join Date
    May 2006
    Posts
    192
    Rep Power
    22
    Are you doing a binary serialization of a class/structure?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. need help with binary operators
    By anotheruser in forum C# Programming
    Replies: 3
    Last Post: 11-06-2010, 02:56 PM
  2. Hexa convert to binary. sum all binary numbers.
    By iera_yahaya in forum C and C++
    Replies: 5
    Last Post: 02-02-2010, 05:58 AM
  3. Binary Converter
    By G1TN3RD in forum Java Help
    Replies: 6
    Last Post: 01-12-2010, 11:19 AM
  4. Binary Search
    By ReignInChaos in forum Java Tutorials
    Replies: 6
    Last Post: 06-17-2009, 06:46 AM
  5. Need help with binary trees.
    By Daskill in forum General Programming
    Replies: 9
    Last Post: 12-08-2008, 08:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts