@amjad163 afaik windows and linux use a signed char type, -127 to 127. it might be worth printing 255, 127 and -127 as type char to see what they print. there is also an unsigned char type that might support extended ascii.
@amjad163 well i am not too familiar with the C standard library, i am still a novice, but α⌂┘are not ascii members, they are unicode. char types are a single octet in size, ie 8 bits, it can only store values up to 255. unicode is 16bit and references 65k odd. it will be worth your while to look into using unicode with C.
very good example
sgrouge 4 months ago
Best buffe-overflow video ever!!!
withjigs 6 months ago
im feeling better now...i proove my self the i have 1/4 of a normal human being...
Andy0n7 11 months ago
thanks for a great video!!!
hacker1191 11 months ago
@amjad163 afaik windows and linux use a signed char type, -127 to 127. it might be worth printing 255, 127 and -127 as type char to see what they print. there is also an unsigned char type that might support extended ascii.
LemonPieLoL 1 year ago
@LemonPieLoL
the characters i mentioned have an ascii value <255 ie octet in size.
amjad163 1 year ago
@amjad163 well i am not too familiar with the C standard library, i am still a novice, but α⌂┘are not ascii members, they are unicode. char types are a single octet in size, ie 8 bits, it can only store values up to 255. unicode is 16bit and references 65k odd. it will be worth your while to look into using unicode with C.
LemonPieLoL 1 year ago
@LemonPieLoL
I was using scanf to read back the final string(i.e the respective ascii codes), but scanf function is not able to store characters like α⌂┘
What do you suggest? any other function that can serve the purpose of scanf?
amjad163 1 year ago
ya thank u "LemonPieLoL" i got d answer already...anyhow thanks for the reply buddyyyyyyyyyyyyyyyy
kishoreavi 1 year ago
@kishoreavi by pressing the alt key and typing the number with the keypad into word. alternatively you can just google an ascii chart.
LemonPieLoL 1 year ago