Abraxas/CCS  Home  Table of Contents

Module - 60.html

ABRAXAS SOFTWARE - CodeCheck CCS Test-Suite

CCS -C Test Suite for Module - 60.cpp

// 60) Avoid allocating and deallocating memory in different modules.

// two files 60.cpp that defines and allocates object, and 60a.cpp that de-allocates

class C60 {};
void



Function Name: f60()

f60() {
   C60 *c60 = new C60 ;   // allocate c60 in 60.cpp
}

Abraxas/CCS  Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck CCS Test-Suite CCS