About 149,000 results
Open links in new tab
  1. c - How to read/write a binary file? - Stack Overflow

    Jan 16, 2024 · I'm trying to write to a binary file, read from it, and output to the screen. I can write to a file, but when I try to read from it, it is not outputting correctly.

  2. Can I write a program in binary directly ? How can I get the …

    Apr 19, 2017 · 18 Use a hex editor, write your bits and save it as an executable file (either just with the file extension .exe in Windows or with chmod a+x filename in Linux). The problem is: …

  3. Is it possible to program in binary? - Stack Overflow

    Feb 11, 2011 · The above code puts a white pixel at the top-left corner of screen in 6502asm.com assembler/emulator, go ahead and try it out! Now the trick for converting hexadecimals into …

  4. assembly - How to write and execute PURE machine code …

    With pure machine code, you can use any language that has an ability to write files. even visual basic.net can write 8,16,32,64 bit while interchanging between the int types while it writes.

  5. How can I read a binary file and write it to another binary file in …

    158 I'm trying to write code to read a binary file into a buffer, then write the buffer to another file. I have the following code, but the buffer only stores a couple of ASCII characters from the first …

  6. Writing binary number system in C code - Stack Overflow

    Writing binary number system in C code [duplicate] Asked 12 years, 9 months ago Modified 4 years, 5 months ago Viewed 345k times

  7. How could I write "hello world" in binary? - Stack Overflow

    May 30, 2012 · Easy: write it in C and compile it to a binary file.

  8. Would there ever be a reason to write code in pure binary?

    Mar 1, 2010 · To start the code from BASIC you either write the code as decimal data bytes or as a string. (Yes, you could actually write code in a string, the only character code from the 256 …

  9. syntax - C# binary literals - Stack Overflow

    Feb 27, 2009 · Is there a way to write binary literals in C#, like prefixing hexadecimal with 0x? 0b doesn't work. If not, what is an easy way to do it? Some kind of string conversion?

  10. python - Using pyserial to send binary data - Stack Overflow

    9 From pySerial API documentation: write (data) Write the bytes data to the port. This should be of type bytes (or compatible such as bytearray or memoryview). Unicode strings must be …