https://github.com/root-project/root
Raw File
Tip revision: 36a1d82df6498b939718774b3b6b1463f20c6f5a authored by Fons Rademakers on 14 September 2011, 13:31:33 UTC
tag patch release v5-28-00g.
Tip revision: 36a1d82
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