Thread: Reference question.

  1. #1
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256

    Reference question.

    Does anyone know of a good resource for learning about .BIN files, what they do, how to use them and make them, etc.? Note that I'm talking about the files you might find in the "bin" folder of your compiler's files.
    Last edited by Jaken Veina; 05-26-2005 at 10:00 AM.

  2. #2
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    they're whatever you make of them really. ".BIN" usually means it's just data in binary format. The tutorials around here have information on how to open files and deal with the data inside. You might also find DLL's in the bin folder, which I believe you can also find in the tutorials.
    Last edited by skorman00; 05-26-2005 at 07:43 PM.

  3. #3
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256
    Well....I don't know. Maybe I didn't ask the right question. What I'd kinda like to know is what a .bin file (or any file in the /bin folder) does for the compiler. How does the compiler use it?

  4. #4
    Registered User
    Join Date
    Mar 2005
    Posts
    36
    /bin is a common place to store programs - usually without a .bin extension. If it has a .bin extension it's probably just binary data tagged to tell you not to treat it as text. Any file can really be any format - text, binary, or something more specific. If you can't read hexidecimal you aren't going to get much of anywhere, and if it's binary numeric data, you need to know what kind of computer it was written on (x86 machines store binary numbers byte by byte low order first, and many others store high order first). .exe files are MS binary programs in a specific format which is different from the one that Unix type systems use. A compiler will generate an object file (binary) which is linked with a starter object and probably library objects (also binary and different depending on the operating system and perhaps the compiler) to make a program. These all have well defined formats, but there are many different ones. The compiler and linker are programs which may well reside in a /bin directory, and in Unix/linux, you may also find shell scripts (text) there as well just because they are executable. For more info, ask more specific questions.
    Last edited by Karthur; 05-27-2005 at 06:47 PM.

  5. #5
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem creating .so
    By k0k33 in forum C Programming
    Replies: 7
    Last Post: 04-27-2009, 04:41 AM
  2. non-const reference and const reference
    By George2 in forum C++ Programming
    Replies: 3
    Last Post: 12-15-2007, 05:03 AM
  3. Problem with Makefile
    By pinkprincess in forum C Programming
    Replies: 3
    Last Post: 06-24-2007, 09:02 AM
  4. GCC - Strange networking functions error.
    By maththeorylvr in forum Windows Programming
    Replies: 3
    Last Post: 04-05-2005, 12:00 AM
  5. OpenGL in devc++
    By Mipix in forum Game Programming
    Replies: 5
    Last Post: 07-21-2003, 01:21 PM