Search code examples
c++windowscursorcmdascii

Windows console cursor symbol / sigal bars in C++ Console app


I'm looking for a way to get a kind of signal bars for my C++ console application. (it calculates the pings and the average and output signal bars based on the difference between the ping and the ping average) So I need to print simple signal bars in ASCII or w/e, for the moment I've the following: "_▄█" (it's in 3 diff levels) But the first underscore is too "slim" to fit the other bars. (on the console window: _, alt+220, alt+219) But the console "cursor" is just perfect for that matter, any idea on what symbol it is or how can I print it to a "static" mode (without getting on/off) ? Or maybe you have any other idea on how I could display simple bars like that?

Edit: here is the actual result http://img15.hostingpics.net/pics/456373Sanstitre.jpg


Solution

  • ▁▂▃▄▅▆▇█ Found these by using Babelmap. Hope they help!