22 lines
242 B
C++
22 lines
242 B
C++
|
|
#include <stdlib.h>
|
||
|
|
#include <iostream.h>
|
||
|
|
|
||
|
|
void main()
|
||
|
|
{
|
||
|
|
char** text=(char**) malloc(10*sizeof(char(*)));
|
||
|
|
int i;
|
||
|
|
|
||
|
|
text[0]="Null";
|
||
|
|
text[1]="Eins";
|
||
|
|
text[2]="Zwei";
|
||
|
|
text[3]="Drei";
|
||
|
|
|
||
|
|
for (i=0;i<6;i++)
|
||
|
|
{
|
||
|
|
cout << text[i] << endl;
|
||
|
|
}
|
||
|
|
|
||
|
|
free(text);
|
||
|
|
|
||
|
|
}
|