Posts

Hebräische Zahlschrift

Falls im Folgenden Zeichen nicht korrekt dargestellt werden, liegt das am Schriftsatz, siehe Darstellung von hebräischen Zahlen in Unicode und Hilfe bei Darstellungsproblemen. Zahlenwerte Hebräisch Wert Aleph א 1 Beth ב 2 Gimel ג 3 Daleth ד 4 He ה 5 Waw ו 6 Zajin ז 7 Chet ח 8 Tet ט 9 Jod י 10 Kaph כ 20 Lamed ל 30 Mem מ 40 Nun נ 50 Samech ס 60 Ajin ע 70 Pe פ 80 Tzade צ 90 Koph ק 100 Resch ר 200 Schin ש 300 Taw ת 400 Die hebräische Zahlschrift stellt Zahlenwerte in einem dezimalen Additionssystem dar. Als Grundlage dient dabei das hebräische Alphabet. Dabei ist den Buchstaben jeweils ein Zahlenwert der Einer, Zehner und Hunderter zugeordnet. In der hebräischen Bibel werden Zahlen stets als Zahlwörter ausgeschrieben. In althebräischen Inschriften des 1. Jahrtausends v. Ch...

C null terminator's throught char* correct handelling

Image
up vote 2 down vote favorite This question is aimed at improving my understanding of what I can and cannot do with pointers when allocating and freeing: The bellow code is not meant to run, but just set up a situation for the questions bellow. char *var1 = calloc(8,sizeof(char)); char **var2 = calloc(3,sizeof(char*)); var1 = "01234567"; var1[2] = ''; var1[5] = ''; //var1 = [0][1][][3][4][][6][7] var2[0] = var1[0]; var2[1] = var1[3]; var2[2] = var1[6]; free(var1); free(var2); given the following snippet 1: is it ok to write to a location after the if you know the size you allocated. 2: Can I do what I did with var2 , if it points to a block that another pointer is pointing at? 3: are the calls to free ok? or will free die due to the located throughout var1. I printed out all ...