All pastes #255166 Raw Edit

Answer

public c v1 · immutable
#255166 ·published 2006-11-22 18:27 UTC
rendered paste body
// Geschichte-projekt.cpp : Definiert den Einstiegspunkt für die Konsolenanwendung.//#include <stdio.h>#include <conio.h>#include <string.h>int main(void){        // so machen        char *jahreszahlen[58];        jahreszahlen[0] = "blah";        jahreszahlen[1] = "blubb";        printf("%s %s\n", jahreszahlen[0], jahreszahlen[1]);        // nicht so	char jahreszahlen[58][2];	jahreszahlen[0] =	 "3000-1000v.Chr.";	jahreszahlen[1] = "1100v.Chr.";	strcpy (jahreszahlen[1], "753v.Chr.");	strcpy (jahreszahlen, "500v.Chr.");	strcpy (jahreszahlen, "430-320v.Chr.");	strcpy (jahreszahlen, "148v.Chr.");	strcpy (jahreszahlen, "27v.Chr.");	strcpy (jahreszahlen, "117");	strcpy (jahreszahlen, "395");	strcpy (jahreszahlen, "375-475");	strcpy (jahreszahlen, "Ende5.Jahundert");	strcpy (jahreszahlen, "622");	strcpy (jahreszahlen, "711");	strcpy (jahreszahlen, "800");	strcpy (jahreszahlen, "1096-1099");	strcpy (jahreszahlen, "1150-1350");	strcpy (jahreszahlen, "1356");	strcpy (jahreszahlen, "1500");	strcpy (jahreszahlen, "1450");	strcpy (jahreszahlen, "1453");	strcpy (jahreszahlen, "1492");	strcpy (jahreszahlen, "1494");	strcpy (jahreszahlen, "1500");	strcpy (jahreszahlen, "1517");	strcpy (jahreszahlen, "1525");strcpy (jahreszahlen, "1618-1648");strcpy (jahreszahlen, "1650-1800");strcpy (jahreszahlen, "1769");strcpy (jahreszahlen, "1776");strcpy (jahreszahlen, "1789");strcpy (jahreszahlen, "1814/15");strcpy (jahreszahlen, "1822");strcpy (jahreszahlen, "1835");strcpy (jahreszahlen, "1844");strcpy (jahreszahlen, "1848");strcpy (jahreszahlen, "1848/49");strcpy (jahreszahlen, "1870/71");strcpy (jahreszahlen, "1871");strcpy (jahreszahlen, "1886");strcpy (jahreszahlen, "1914-1918");strcpy (jahreszahlen, "1917");strcpy (jahreszahlen, "9.11.1918");strcpy (jahreszahlen, "1923");strcpy (jahreszahlen, "1929-1932");strcpy (jahreszahlen, "30.1.1933");strcpy (jahreszahlen, "9.11.1938");strcpy (jahreszahlen, "1939-1945");strcpy (jahreszahlen, "1945-August");strcpy (jahreszahlen, "1949");strcpy (jahreszahlen, "1961");strcpy (jahreszahlen, "1962");strcpy (jahreszahlen, "1974");strcpy (jahreszahlen, "1975");strcpy (jahreszahlen, "1989");strcpy (jahreszahlen, "1990");strcpy (jahreszahlen, "ab1991");strcpy (jahreszahlen, "2001");strcpy (jahreszahlen, "2002");printf ("%c",jahreszahlen[0]);printf("\n\n");printf("%c",jahreszahlen[1]);getch();		return 0;}