Hello all, I am trying to compile the histogram example(histogram.cpp) in random but have not had success. I am using MSVC++ 7.0. Has anyone had success in compiling this file using MSVC++ 7.0? Below are the error messages I receive. Thanks again for any and all suggestions! c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(48): warning C4267: 'argument' : conversion from 'size_t' to 'std::streamsize', possible loss of data c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(100): error C2065: 'gen' : undeclared identifier c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2061: syntax error : identifier 'base' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2066: cast to function type is illegal c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(96): error C2059: syntax error : ')' c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.base' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(110): error C2228: left of '.sum' must have class/struct/union type c:\Documents and Settings\Agiato\My Documents\Visual Studio Projects\histogramTest\driver.cpp(112): error C2228: left of '.squaresum' must have class/struct/union type