how can ı change some of ascii table characters
-
Klingon developers can. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]thats a file right, so ı believe we can change it someway , ı dont know how but ı think somebody had been handled and changed it :doh:
-
As Chris says, ASCII is a standard coding and you can't change it, we won't let you. :suss: However, are you asking if you can change what is actually displayed when you print a particular ASCII character? If that's your question, then the answer is yes. Create your own font. Check out Dingbats for an example of how crazy you can get with that.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
if(0x65)
{
cout << 0x66;
}??
-
can we change ascii table characters ???
Can you explain a little better? It's far from clear exactly what you mean.
Steve
-
if(0x65)
{
cout << 0x66;
}??
-
thats a file right, so ı believe we can change it someway , ı dont know how but ı think somebody had been handled and changed it :doh:
It is clear none of us understood what your question is about. Can you explain WHY are you trying to do that and WHAT are you trying to achieve in that way?
2 bugs found. > recompile ... 65534 bugs found. :doh:
-
Ok, that's possible but trivial. It's obviously not clear to me what he's asking.
The wonderful thing about the Darwin Awards is that everyone wins, especially the members of the audience.
if(0x65) { cout << 0x66; } this is the way, but only hollow like that, 65 means A ? YES and 66 means B ? YES now when we change it 65 will B, 66 mean A but how ? :confused: if we take a file which s called ascii table, let change something on it ;) but ı couldnt see anyhing for now. ı just think maybe its trivial and unused but something we should do that to me.
-
if(0x65) { cout << 0x66; } this is the way, but only hollow like that, 65 means A ? YES and 66 means B ? YES now when we change it 65 will B, 66 mean A but how ? :confused: if we take a file which s called ascii table, let change something on it ;) but ı couldnt see anyhing for now. ı just think maybe its trivial and unused but something we should do that to me.
So clarify for us what you're trying to do. Is it when you execute the following line: printf("%s", "Foo"); You want to change something in the OS so that the following output is produced? Xyy
The wonderful thing about the Darwin Awards is that everyone wins, especially the members of the audience.
-
if(0x65) { cout << 0x66; } this is the way, but only hollow like that, 65 means A ? YES and 66 means B ? YES now when we change it 65 will B, 66 mean A but how ? :confused: if we take a file which s called ascii table, let change something on it ;) but ı couldnt see anyhing for now. ı just think maybe its trivial and unused but something we should do that to me.
Do you mean to display like?
cout << (char)0x66;
Also 66 is 'B', 0x66 is not! 0x66 is 102, which is 'f'. Or, do you a string-array, and want to manipulate it?
-
can we change ascii table characters ???
Well, there's ASCII and ASCII. (you probably don't mean ASCII, but ANSI, which is Windows-1252. ASCII is a seven-bit encoding scheme from days gone by) I suppose you see funny characters on the screen, and you're wondering where they come from. First, someone may have changed you code page.Google or Bing code page and you'll find instructions on how to set your code page in most Operating systems. Vista and seven don't have code pages anymore, because they use Unicode all over the place, and don't support old dos 16-bit programs anymore. The ASCII table still lingers as the first 128 characters of Unicode. Does this put you on your way?
-
Well, there's ASCII and ASCII. (you probably don't mean ASCII, but ANSI, which is Windows-1252. ASCII is a seven-bit encoding scheme from days gone by) I suppose you see funny characters on the screen, and you're wondering where they come from. First, someone may have changed you code page.Google or Bing code page and you'll find instructions on how to set your code page in most Operating systems. Vista and seven don't have code pages anymore, because they use Unicode all over the place, and don't support old dos 16-bit programs anymore. The ASCII table still lingers as the first 128 characters of Unicode. Does this put you on your way?
thanks a lot everyone, realy. an example, in the C program. ı had wanted: when I take "A" from keyboard, C understand it "65" Ascii.because computer run with ascii you know. like that: if('A'==65) printf("yes, this A"); ;) ı can do this with a few variable in the program. but it s real just in that file. not anwhere apart from that c program. thats what ı had want :D ıf ı could, ı chanced it from source ( ı dont know, where is the source :laugh: in operating system, in debugger or maybe in hardware :^) ) like a frind it s nonsense. again so thanks. ı stopped to find a way :-O