Dec 172017
 
C Users Group magazine files for October 1994.
File CUJ9410.ZIP from The Programmer’s Corner in
Category Files from Magazines
C Users Group magazine files for October 1994.
File Name File Size Zip Size Zip Type
ALLISON 0 0 stored
ARG.DAT 73 58 deflated
ARG2.DAT 79 71 deflated
ARG3.DAT 59 59 stored
ARGLIST.C 1936 701 deflated
ARGLIST.CPP 1250 498 deflated
ARGLIST.H 494 243 deflated
ARGLIST2.CPP 1063 441 deflated
ARGLIST2.H 507 253 deflated
ARGLIST3.CPP 557 273 deflated
ARGLIST3.H 591 293 deflated
BADDEMO.CPP 360 214 deflated
DEMODEL.CPP 344 186 deflated
GETARGS.C 576 353 deflated
MULTARGS.CPP 677 353 deflated
SORT.C 868 405 deflated
XREF.C 3420 1192 deflated
XREF2.C 5717 1723 deflated
FILENAME.TXT 6071 2076 deflated
LETTERS 0 0 stored
BADQSORT.C 856 410 deflated
MILAM 0 0 stored
DATE.C 867 246 deflated
DATESUPP.C 5044 1322 deflated
LOCALDAT.C 1752 505 deflated
MILAM2.ZIP 29424 29132 deflated
MKDATE.C 2133 590 deflated
STRFDATE.C 9532 1471 deflated
XDATE 10003 2070 deflated
MUELLER 0 0 stored
XASSERT.H 3379 1088 deflated
PJP 0 0 stored
OSTREAM.H 1111 232 deflated
README.CUJ 4125 1870 deflated
SAKS 0 0 stored
CLEAR.CPP 322 187 deflated
COMMON.H 741 321 deflated
COMQ6.CPP 934 351 deflated
COMQ6.H 1064 383 deflated
COMSTR6.CPP 710 301 deflated
COMSTR6.H 632 314 deflated
GENQ5.CPP 768 324 deflated
GENQ5.H 891 354 deflated
STRTST6.CPP 1604 520 deflated
SKELLY 0 0 stored
DEMOPMEM.CPP 3946 1053 deflated

Download File CUJ9410.ZIP Here

Contents of the FILENAME.TXT file


************************* MASTER CODE ***************************************

The name of the first file in this disk's directory identifies the volume,
issue number and revision of the disk. The format of this filename is:

!CDmvvii.rrr

where

! = the '!' character
m = C for C Users Journal, W for Windows/DOS Developer's Journal
vv = volume
ii = issue
rrr = revision (001 for initial release, 002 for next update, etc.)

The file UPDATE.DOC contains information about any additions or
corrections to material on the disk since the original magazine
publication.

If you have obtained this code from a floppy diskette or from CompuServe, the
headings under the column "FILENAME" represent the names of .ZIP files. All
files listed under the filename are archived in the .ZIP file.

If you have obtained this code from UUNET, the headings under the column
"FILENAME" represent the names of subdirectories. All files listed under the
"filename" are included in a subdirectory of that name.

Keywords: Oct94 C C++ Assert Revision Pointers Members Date Inserters Generic

The code listings for the October 1994 issue of C/C++ Users Journal
include source code for Harald Mueller's Powerful Assertions for C++,
Stan Milam's Extended Date Library for C, the Draft C++ Standard
Definition of class ostream, plus sample listings from Christopher
Skelly's Powerful Pointers to Member Functions, Dan Saks' column,
Stepping Up to C++: Generic Container Classes, Part 4, and Chuck
Allison's column, Code Capsules: Dynamic Memory Management, Part 1.
************************* FILE DESCRIPTION **********************************

The following files are included in the disk:

FILENAMEAUTHOR-NAMETITLE PAGE
(Zip archive/
subdirectory name)
-------------------------------------------------------------------------------
plauger P.J. PlaugerStandard C/C++:Inserters10

ostream.h - listing 1, Draft C++ Standard description of class
ostream

muellerHarald M.Powerful Assertions for C++21
Mueller

xassert.h - listing 1, Definitions of extended assert macros

skellyChristopherPowerful Pointers to Member51
SkellyFunctions

demopmem.cpp - listing 1, A program to demonstrate operation of
pointers to members in C++

milamStan MilamAn Extended Date Library in C67

datesupp.c - listing 1, Supporting functions for the date library
date.c - listing 2, Function date
localdat.c - listing 3, Function localdate
mkdate.c - listing 4, Function mkdate
strfdate.c - listing 5, Function strfdate
xdate - listing 6, Extended date functions

milam2Stan MilamAn Extended Date Library in C

Complete source code, including code not listed in magazine

allisonChuck AllisonCode Capsules:Dynamic Memory101
Management, Part 1

sort.c - listing 1, A sort program that uses ragged arrays
getargs.c - listing 2, A program that reads arguments from files
arglist.c - listing 3, Supporting functions for the program in
Listing 2
arg.dat - listing 4, Input file arg.dat
arg2.dat - listing 5, Input file arg2.dat
arg3.dat - listing 6, Input file arg3.dat
xref.c - listing 7, A program that uses a binary tree and
linked lists to cross-reference words
in a text file
xref2.c - listing 9, A cross-referencer with custom memory
management pools
demodel.cpp - listing 10, Demonstrates behavior of operator
delete[]
baddemo.cpp - listing 11, Demonstrates why you shouldn't use
operator delete with arrays
arglist.h - listing 12, Definition of class Arglist - for
arglist.cpp
arglist.cpp - listing 13, Implementation of class Arglist
multargs.cpp - listing 14, A program that creates multiple arglist
objects
arglist2.h - listing 15, An Arglist class that uses arrays of
string objects
arglist2.cpp - listing 16, Out-of-line member functions of class
Arglist in Listing 15
arglist3.h - listing 17, An Arglist clas that uses a container
class
arglist3,cpp - listing 18, Out-of-line member functions for the
Arglist class in Listing 17
saksDan SaksStepping Up to C++: Designing81
Generic Container Classes,
Part 4

genq5.h - listing 1, Generic Queue of void * with an iterator
class
genq5.cpp - listing 2, Implements class defined in Listing 1
clear.cpp - listing 3, A member function, clear, that discards
all the elements in a queue that has
elements of type T
common.h - listing 4, An abstract base class for objects in
generic containers
comq6.h - listing 5, Class and inline member function
definitions for a generic queue of
common *
comq6.cpp - listing 6, Non-inline member function definitions
for a generic queue of common *
comstr6.h - listing 7, A class definition for str objects that
can be placed in a container of common *
comstr6.cpp - listing 8, Non-inline member function definitions
for str objects that can be placed in a
container of common *
strtst6.cpp - listing 9, A test program for comqs as a queue of
str


lettersWe Have Mail109

badqsort.c - listing 1, A qsort that fails for data > 4000
structures

******************************************************************************

If you have questions regarding to the disk, please call or write us.

-----------------------------------------------------------------------------
R&D Publications, Inc.
1601 W. 23rd St. Suite 200
Lawrence, KS 66046
(913) 841-1631
-----------------------------------------------------------------------------



 December 17, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)