Posts

Showing posts with the label Keyboard

Spacebar.

Image

Virtual keyboad.

Image

Programmer keyboard.

Image

Conio.h ugh.

Image
Disappointed how c/c++ programmers do not take the time to make their code portable. Take for instance the legacy code:     #include<iostream>     #include<conio.h>     using namespace std;     int main()     {         char key_press;         int ascii_value;         cout<<"\n\t\t\tPress Any Key To Check  Its ASCI Value\n\n\t\t\tPress ESC to EXIT\n\n\n";         while(1)         {         key_press=getch();         ascii_value=key_press;         if(ascii_value==27) // For ESC          break;        cout<<"\t\t\tKEY Pressed-...

StarTrek computing.

Image
Not so long ago at least for me Mainframe, C=64, Fruit ][, Trs-80, MSDOS, CPM, and Unix  was all command line. When gui interfaces first came out ,users screamed bloody murder if they had to use a mouse. Now if you suggest using the command line aka keyboard, you get the same bloody murder reaction. Reminds me of the Star trek movie where Scotty tried to talk to a computer and found  that he had to use the keyboard [ faced with a 20th century computer ] Scotty : Computer! Computer? [ He's handed a mouse, and he speaks into it ] Scotty : Hello, computer. Dr. Nichols : Just use the keyboard. Scotty : Keyboard. How quaint.