https://github.com/root-project/root
Raw File
Tip revision: 65d4ef291a9ffe38e425a5967d119c28e6ff665e authored by Fons Rademakers on 25 January 2010, 14:50:51 UTC
tag patch release v5-22-00g.
Tip revision: 65d4ef2
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