// static.cpp -- using a static local variable
#include
// constants
const int ArSize = 10;
// function prototype
void strcount(const char * str);
int main()
{
using namespa
// static.cpp -- using a static local variable
#include
// constants
const int ArSize = 10;
// function prototype
void strcount(const char * str);
int main()
{
using namespa
//: C03:Static.cpp
// From Thinking in C++, 2nd Edition
// at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Using static data in a function
#include
//: C03:Static.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Using a static variable in a func