https://github.com/root-project/root
Raw File
Tip revision: cc899ceb55e292a3ea81ba066df9a63f4f94a72c authored by Fons Rademakers on 31 May 2013, 15:45:45 UTC
make version v5-34-08.
Tip revision: cc899ce
t1004.cxx
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (root-cint@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