Hi,
The following code produced different output from two different
compiler which is Dev C++ and Visual C++ 2005.
int n;
cin >> n;
list<int> myList[n];
Dev C++ compiled with no problem but visual C++ 2005 failed to compile
with error with the following error messages:
error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0
error C2133: 'myList' : unknown size
Which one is the true output?
Thx in advance
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/