https://github.com/root-project/root
Raw File
Tip revision: f02ee1dc4d7c498bf35af5d2f9edc11f348b8bf0 authored by Fons Rademakers on 04 February 2011, 11:14:44 UTC
tag patch release v5-27-06c.
Tip revision: f02ee1d
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