010 Editor: World's Best Hex Editor. Unequalled binary editing performance for files of any size. Use powerful Binary Templates technology to understand binary data. Edit 160+ formats. Find and fix problems with hard drives, memory keys, flash drives, CD-ROMs, etc. Investigate and modify memory from processes.
- HexEd.it is a free hex editor for Windows, MacOS, Linux and all other modern operating systems. It uses HTML5 and JavaScript (JS) technology to enable online hexediting, directly in your browser. Analyse hexadecimal binary dumps and files, read, manipulate, write, import and export byte as well as bit data in this webapp.
- HHD Free Hex Editor is a fastest binary file editing software for Windows. Using this freeware hex editor you'll be able to edit extremely large files/dumps of raw data and try advanced functions: search/replace data incl. RegExp, disk editor, computer memory editor, checksum/hash calculations, logical bitwise/arithmetic data operations, file structure viewer with binary templates, modifying.
When developing cross-platform terminal applications or using terminal output for logging or debugging, it's useful to color the output in order to not lose the overview.
This article shows how to color the terminal output on various platforms.
Linux
On Linux, you can change the current foreground and background color by writing special character sequences into the output. Write the ESC escape character (octal '033'
, hex x1b
), followed by an opening square bracket [
. The color definition will follow next, termniated by a lowercase m
.
The color definition is a series of numbers, separated by semicolons. In order to make the text color red (number 31), you can write '033[31m'
which will make any following output red. If you want yellow text (33) on blue background (44), you write '033[31;44m'
. To reset everything back to the default colors, you write '033[0m'
.
Dev C Hex Editor Software
The terminal-colors.d manual gives you an overview over the available codes.
Dev C Hex Editor Online
Windows
Dev C Hex Editor Free
On Windows, coloring the terminal output, works a bit different. Instead of writing special character sequences into the output, you have to call special functions from the windows library. #include <windows.h>
in order to access the Windows functions. This provides the SetConsoleTextAttribute()
function that can be used to color the text. You also need to get a handle to the stdout console using GetStdHandle(STD_OUTPUT_HANDLE)
.
The following code shows how to color the text red and yellow on blue background:
Unlike Linux, where each foreground and background color has an individual number, you work with the red, green and blue channels on Windows. As you can see with yellow, it's a combination of red and green for example.
You can check available color values here.