Click here to Skip to main content
11,709,536 members (56,160 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Expression must have a constant value

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

Revisions


  

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

License

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

Share

About the Author

CPallini
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...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150819.1 | Last Updated 13 Feb 2013
Article Copyright 2013 by CPallini
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid