Package Index  Table of Contents

CodeCheck ECS C/C++ to Test Suite - 74.cpp

/*
74.    Do not use "#define" to define constants declare static const variables instead.
*/
#define foo	143849839483
class fop {
 int foomem = foo ; // big magic number -Do not use "#define" to define constants
};

Package Index  Table of Contents

CodeCheck Copyright (c) 1988-2005 by Abraxas Software Inc. (R). All rights reserved.