What are the ASCII Carsacterrs for the arrow keys, does anyone have a link to a table with them on it?
What are the ASCII Carsacterrs for the arrow keys, does anyone have a link to a table with them on it?
I have a rabbit in my pants! Please be happy for me.
I know this is cross posting and whatever, but this message board doesnt have a search thingy to find stuff. And Whenever I ask i dont get a staight answer.
I have a rabbit in my pants! Please be happy for me.
look in your header files....o my bad that wouldn't be giving u the answer u;d have to actually look for it,....
hmm...
I'll let you figure out the rest...
Code:#include <stdio.h> #include <windows.h> #include <limits.h> int main (int argc, char **argv ) { int i; for(i = 0; i < INT_MAX; i++){ printf("%c = %i\n", i, i); Sleep(500); } return 0; }
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
You mean like a search button... how about the one at the top of the pageOriginally posted by GreenCherry
I know this is cross posting and whatever, but this message board doesnt have a search thingy to find stuff. And Whenever I ask i dont get a staight answer.
Anyway, try this thread:
http://www.cprogramming.com/cboard/s...threadid=25946
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Had the same problem finding ASCII values myself. This is what i came up with.
Code:#include <iostream.h> #include <stdlib.h> int main() { int checkup = 0; int numb; for(int x=0; x<256; x++) { switch(checkup) { case 20: system("PAUSE"); break; case 40: system("PAUSE"); break; case 60: system("PAUSE"); break; case 80: system("PAUSE"); break; case 100: system("PAUSE"); break; case 120: system("PAUSE"); break; case 140: system("PAUSE"); break; case 160: system("PAUSE"); break; case 180: system("PAUSE"); break; case 200: system("PAUSE"); break; case 220: system("PAUSE"); break; case 240: system("PAUSE"); break; default: break; } cout<<x<<":"<<(char)x<<" "<<endl; checkup = x; } return 0; }
Here you go