https://github.com/root-project/root
Raw File
Tip revision: 72e31931e09a049505c7d84f4c7a8a8c1ac15775 authored by Fons Rademakers on 15 June 2011, 23:51:22 UTC
tag pro version v5-30-00-rc2.
Tip revision: 72e3193
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