annotate run/slice_04.d @ 179:55a2c755d699
1) fixed html mime settings
2) spelling names ...
Stewart Gordon <smjg_1998@yahoo.com>
200-12-06
news:cp1p8s$2kr6$1@digitaldaemon.com
author |
thomask |
date |
Mon, 06 Dec 2004 16:39:00 +0000 |
parents |
de27ca625bf7 |
children |
f87ba6507260 |
rev |
line source |
179
|
1 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
|
2
|
2 // @date@ 2004-09-15
|
|
3
|
|
4 int main(){
|
|
5 char[] array = new char[4];
|
|
6 char letter = 'a';
|
|
7 array[]=letter;
|
|
8 assert(array[0]=='a');
|
|
9 assert(array[1]=='a');
|
|
10 assert(array[2]=='a');
|
|
11 assert(array[3]=='a');
|
|
12
|
|
13 return 0;
|
|
14 }
|