come faccio a ricavarmi il codice ascii di un carattere?
mi serve poichè devo popolare un albero binario ordinato in base ad un campo di tipo stringa
come faccio a ricavarmi il codice ascii di un carattere?
mi serve poichè devo popolare un albero binario ordinato in base ad un campo di tipo stringa
con un semplice cast
Drug misuse is not a disease, it is a decision, like the decision to step out in front of a moving car. [...] In this particular life-style the motto is "be happy now because tomorrow you are dying", but the dying begins almost at once, and the happiness is a memory.
stasera ho la testa nel pallone , fammi un esempio.
Ricorda che il pc memorizza le lettere come numeri ASCII.codice:char let[] = { 'A' }; int ascii = (int) let[0];
La stupidità umana e l'universo sono infinite.
Della seconda non sono certo(Einstein)
Gnu/Linux User