Click here to Skip to main content
13,513,747 members
Click here to Skip to main content

Tagged as


Posted 13 Feb 2013

Expression must have a constant value

, 13 Feb 2013
You cannot do that. You should dynamically allocate memory instead.Point **Room = new Point*[size]; BTW don't forget to delete it then.



Compare Revision Minor Date Status Editor
2 - publicly available No 13-Feb-13 0:43 Available CPallini
Updates in content. 29 changes had been made.
1 No 13-Feb-13 0:42 Available CPallini


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior) AEM S.p.A.
Italy Italy

Debugging? Klingons do not debug. Our software does not coddle the weak. Bugs are good for building character in the user.
-- The Klingon programmer

Beelzebub for his friends [^].

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.180417.1 | Last Updated 13 Feb 2013
Article Copyright 2013 by CPallini
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid