Kltsune Posted September 30, 2014 Share Posted September 30, 2014 Ciao, stasera parlando con un conoscente del codice binario, mi è venuta in mente una domanda, io so come si converte un numero decimale a binario e viceversa. Ma per le lettere e caratteri speciali come funziona? (ho letto qualcosa ma non riesco a capire) @Devil_Mcry @tom1 @errhon Quote Link to comment Share on other sites More sharing options...
errhon Posted October 1, 2014 Share Posted October 1, 2014 Ciao Uuuuuuu ci addentriamo in un terreno mooolto scivoloso..... Qui non ti posso aiutare, devi affidarti a qualcuno esperto di logica e sistemi. Sorry Quote Link to comment Share on other sites More sharing options...
fedemini Posted October 1, 2014 Share Posted October 1, 2014 Usa questo http://www.feedati.com/binario/ Quote Link to comment Share on other sites More sharing options...
Kltsune Posted October 1, 2014 Author Share Posted October 1, 2014 :| Seriamente, come si converte? Quote Link to comment Share on other sites More sharing options...
Devil_Mcry Posted October 1, 2014 Share Posted October 1, 2014 Beh, ogni lettera è associata ad un numero e la conversione in binario avviene in quel modo. La tabella ASCII e UTF-8 definiscono che numero è associato alla data lettera o simbolo. Quote Link to comment Share on other sites More sharing options...
Kltsune Posted October 3, 2014 Author Share Posted October 3, 2014 Quindi ogni numero compreso fra 32 e 126 da sia un numero appunto e una lettera o carattere speciale (convertito dal binario intendo)? Quote Link to comment Share on other sites More sharing options...
Devil_Mcry Posted October 4, 2014 Share Posted October 4, 2014 In realtà ogni numero compreso tra 0 e 255 essendo un char di dimensione 1 byte. Comunque si, ma sono distinti Quote Link to comment Share on other sites More sharing options...
Kltsune Posted October 4, 2014 Author Share Posted October 4, 2014 In realtà ogni numero compreso tra 0 e 255 essendo un char di dimensione 1 byte. Comunque si, ma sono distinti Se partono dallo 0 e arrivano al 127, gli altri fino al 255 a cosa corrispondono? http://www.asciitable.com/index/asciifull.gif Quote Link to comment Share on other sites More sharing options...
Devil_Mcry Posted October 4, 2014 Share Posted October 4, 2014 Quote Link to comment Share on other sites More sharing options...
Kltsune Posted October 4, 2014 Author Share Posted October 4, 2014 Colpa mia, non avevo guardato bene :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.