https://github.com/root-project/root
Raw File
Tip revision: 1ed40bc611fae8512a42dc3e408c30f113a324fe authored by Rene Brun on 25 June 2008, 07:37:08 UTC
Tagging production version 5.20
Tip revision: 1ed40bc
t1004.cxx
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (cint@pcroot.cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/
#include <stdio.h>

int main() {
  bool b[3] = {true,false,true};
  for(int i=0;i<3;i++) printf("bool b[%d]=%d\n",i,b[i]);
  return 0;
}
back to top