I was getting really angry at MSVC++ yesterday because I couldnt get this to compile:
...
int a=0;
int *pa;
cin>>a;
pa=&a;
char aa[*pa];
...but i remmebered that I had done it before, so I decided to fire up DevC++ and give it a try. Sure enough, in DevC++ it works no problem. So im wondering, is having a variable sized array compiler specific (mingwn and MSVC++ in this case)? Was kinda angry since I got MSVC++ standard (after using the intro edition for over a year..) to find out that this didnt work...as I needed something simmilar to it in my current project. So right now im working with DevC++.