Author Topic: Bit Flip  (Read 2696 times)

0 Members and 1 Guest are viewing this topic.

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
Bit Flip
« on: October 15, 2006, 05:06:00 pm »
For anyone who's interested: This is a crappy little DOS program that I wrote a couple of years ago (that amazingly appeared on my computer somehow...) that does two things:

1.) Prints out the entire ASCII set to the console and
2.) Allows the user to input one character, which the program does this:
--Converts input to numeric equivilant
--"Flips" the input, outputs the flipped character (not what you think)
--Converts the flipped character into it's numerical equivilent

Really lame, but it's good for n00bs to C++;

Like many of my other projects, I'll post a DL link as soon as I find a file host...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Bit Flip
« Reply #1 on: October 16, 2006, 02:42:00 am »
o.oblink.gif like when you type Alt and number sequence on the numpad? does it input the same chars?

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
Bit Flip
« Reply #2 on: October 16, 2006, 04:02:00 am »
Yup. it can take for input ANY ASCII character, and it will output any one too.