initial checkin from subversion
This commit is contained in:
21
stringtest1.cc
Normal file
21
stringtest1.cc
Normal file
@@ -0,0 +1,21 @@
|
||||
#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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user