Re: compilation errors in 27.istream.fmat.arith.cpp

2007-03-08 Thread Martin Sebor
Mark Brown wrote: Here's another test that throws an error at compile time. It looks like the compiler doesn't like the using N as the dimension of the array. I thought using variables as array dimensions was not allowed in C++? It's not but the variable is really a constant integral expressi

compilation errors in 27.istream.fmat.arith.cpp

2007-03-03 Thread Mark Brown
Here's another test that throws an error at compile time. It looks like the compiler doesn't like the using N as the dimension of the array. I thought using variables as array dimensions was not allowed in C++? gcc -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings