I'm not sure how to use a named/defined constant for maxes. Help please. Here's part of my assignment. Thanks in advance.
Last edited on
C++11:
constexpr int MAX_SQUARE_SIZE = 10 ;
C++98:
enum { MAX_SQUARE_SIZE = 10 } ;
or
const int MAX_SQUARE_SIZE = 10 ;