<br>// pointer to classes example<br>#include <iostream><br>using namespace std;<br><br>class Rectangle {<br>  int width, height;<br>public:<br>  Rectangle(int x, int y) : width(x), height(y) {}<br>  int area(void) { return width * height; }<br>};<br><br><br>int main() {<br>  Rectangle obj (3, 4);<br>  Rectangle * foo, * bar, * baz;<br>  foo = &obj;<br>  bar = new Rectangle (5, 6);<br>  baz = new Rectangle[2] { {2,5}, {3,6} };<br><br><br>este codigo pertenece al sitio <a href="http://www.cplusplus.com">www.cplusplus.com</a>. en el tema Clases I<br> y alcompilarlo con devc++ da un error en esa ultima linea. baz= new Rectangle[2].... <br>es el compilador ke no soporta esa sintaxis ? <br>gracias de antemano.