Abraxas/Meyers: Effective C++  Home  Table of Contents

Module - m03.html

ABRAXAS SOFTWARE - CodeCheck Meyers: Effective C++ Test-Suite

Meyers: Effective C++ Test Suite for Module - m03.cpp

/*

Item 3: Use const whenever possible. 17

*/



Function Name: m3()

m3() {
	char greet[] = "hello";	// rule 3
	const char greet[] = "hello";	// use const for define strings
}

Abraxas/Meyers: Effective C++  Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck Meyers: Effective C++ Test-Suite