Yurttas/PL/OOL/Cplusplus/F/02/06/00/e 03.cpp

From ZCubes Wiki
Jump to navigation Jump to search
 1/* Copyright(C) 2000
 2   All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 3
 4   Permission to use, copy, modify, and distribute this
 5   software and its documentation for EDUCATIONAL purposes
 6   and without fee is hereby granted provided that this
 7   copyright notice appears in all copies.
 8
 9   date   : January 1, 2000.
10   author : Salih Yurttas.
11
12   e_03.cpp
13*/
14
15
16#include <iostream>
17
18using namespace std;
19
20const int N = 64;
21
22int main(int argc, char* argv[]) {
23
24  char t[] = "tiger";
25
26  for(int i=0; i<N; i++)
27    cout << "Char at position " << i << " is  " << t[i] << endl;
28
29}