Dec 082017
 
C Users Group magazine files for May 1994.
File CUJ9405.ZIP from The Programmer’s Corner in
Category Files from Magazines
C Users Group magazine files for May 1994.
File Name File Size Zip Size Zip Type
ADAMS 0 0 stored
REFCOUNT.CPP 2691 836 deflated
TEMPVEC.CPP 5057 893 deflated
UNIT.CPP 513 264 deflated
ALLISON 0 0 stored
CURSGLOB.CPP 347 205 deflated
CURSLOC.CPP 397 205 deflated
CURSOR.CPP 1755 577 deflated
CURSOR.H 388 192 deflated
DATE.CPP 1684 622 deflated
DATE.H 1864 467 deflated
LOCAL.CPP 420 232 deflated
NAMEDEF.H 352 196 deflated
NAMEIMP.H 1742 496 deflated
SCOPE1.CPP 637 340 deflated
SHARE.CPP 286 190 deflated
STR.CPP 556 262 deflated
STR.H 463 245 deflated
TCURSOR.CPP 311 171 deflated
VIDEO.CPP 3022 971 deflated
VIDEO.H 1911 708 deflated
FILENAME.TXT 7683 2506 deflated
HEINTZE 0 0 stored
BOOLEAN.H 123 84 deflated
HERSHEY 0 0 stored
ARCH.C 1553 683 deflated
ARCH.MAK 242 178 deflated
ARCH.XCL 1655 801 deflated
PLAUGER 0 0 stored
BITMASK.H 671 241 deflated
COPYFMT.C 852 369 deflated
DEC.C 261 155 deflated
EXCEPT.C 282 158 deflated
FINDARR.C 518 269 deflated
IOASSIGN.C 404 208 deflated
IOS 4360 1314 deflated
IOS.C 1322 563 deflated
IOSCOPY.C 237 141 deflated
RDBUF.C 295 160 deflated
SETF.C 290 159 deflated
SETF2.C 357 184 deflated
TIE.C 263 143 deflated
UNSET.C 244 149 deflated
PUGH 0 0 stored
PUGH01.LST 596 281 deflated
SAKS 0 0 stored
LNS1A.CPP 2548 313 deflated
LNS1A.H 591 272 deflated
LNS1B.CPP 631 296 deflated
LNS1B.H 529 262 deflated
LNS2.CPP 574 288 deflated
LNS2.H 308 197 deflated
LNS3.H 377 228 deflated
LNS4.CPP 1113 410 deflated
LNS4.H 713 319 deflated
LNS5.CPP 2781 734 deflated
XR.CPP 990 439 deflated
XRT.CPP 1073 401 deflated
XRT.H 384 235 deflated
TSAI 0 0 stored
ASLDLG.H 676 242 deflated
DIALOG 240 172 deflated
INIT.CPP 1706 469 deflated
PARSE.CPP 1206 464 deflated
PDIALOG.CPP 592 288 deflated
PIF.H 254 173 deflated
PSTATE.CPP 1323 470 deflated
PWHILE.CPP 1341 562 deflated
SCRIPT 279 187 deflated
TOKNIZER.H 1393 536 deflated

Download File CUJ9405.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: C C++ Temporary Compiler Internationalization Archimedes Visibility

The code listings for the May 1994 issue of The C Users Journal
include source for Robert Adams' dual classes for temporary objects,
sample source listings for Louis Tsai's object oriented compiler,
and Charles Hershey's program to demo the Archimedes C-51 compiler,

************************* FILE DESCRIPTION **********************************

The following files are included in the disk:

FILENAMEAUTHOR-NAMETITLE PAGE
(Zip archive/
subdirectory name)
-------------------------------------------------------------------------------
plauger P.J. PlaugerStandard C:The Header 10



ios - listing 1, The header
bitmask.h - listing 2, Definition of the macro _BITMASK
ios.c - listing 3, Basic members of class ios
except.c - listing 4, The function ios::exceptions(iostate)
copyfmt.c - listing 5, The function ios::copyfmt(ios&)
rdbuf.c - listing 6, The function ios::rdbuf(streambuf *)
ioassign.c - listing 7, The ios assignment operator
ioscopy.c - listing 8, The ios copy constructor
tie.c - listing 9, The function ios::tie(ostream *)
setf.c - listing 10, The function ios::setf(fmtflags)
setf2.c - listing 11, The function ios::setf(fmtflags,
fmtflags)
unset.c - listing 12, The function ios::unset(fmtflags)
findarr.c - listing 13, The function ios::_Findarr(int)
dec.c - listing 14, The function dec(ios&)

saks Dan SaksStepping Up to C++:67
Compilation Firewalls, Part 2

xr.cpp - listing 1, The main module for the cross-reference
program
xrt.h - listing 2, The xrt class definition
xrt.cpp - listing 3, The xrt member function definitions
lns1a.h - listing 4, Class definition for lns using a single
pointer
lns1a.cpp - listing 5, Member function definitions for lns using
a single pointer
lns1b.h - listing 6, Class definition for lns using a pair of
pointers
lns1b.cpp - listing 7, Member function definitions for lns using
a pair of pointers
lns2.h - listing 8, An lns header with lns as an abstract base
class
lns2.cpp - listing 9, A concrete lns clas derived from the lns
protocol class
lns3.h - listing 10, An lns header with lns as an abstract
base class and a static create function
lns4.h - listing 11, lns as a concrete class with a single
private pointer to a protocol-based
implementation object.
lns4.cpp - listing 12, A "fast" implementation for the protocol-

based lns defined in listing 11
lns5.cpp - listing 13, Implementation for a self-adjusting lns
class


allisonChuck AllisonCode Capsules:Visibility in C++81

scope1.cpp - listing 1, Shows that declarations are statements
date.h - listing 2, Defines a simple Date class
date.cpp - listing 3, Implementation of date class defined in
listing 2
str.h - listing 4, A "copy-on-write" string class design.
str.cpp - listing 5, Implementation for listing 4
local.cpp - listing 6, Defines class Local
cursor.h - listing 7, Cursor control module
tcursor.cpp - listing 8, Illustrates cursor control functions
cursor.cpp - listing 9, Implements cursor control for the IBM PC
video.h - listing 10, IBM PC memory-mapped video output
video.cpp - listing 11, implements video class
share.cpp - listing 12, Demonstrates that tags and variables
share the same namespace
namedef.h - listing 13, Demonstrates use of namespace to define
a module
nameimp.h - listing 14, Adds implementation to complete the
Cursor namespace
cursloc.cpp - listing 15, Imports Cursor functions into a local
scope
cursglob.cpp - listing 16, Makes Cursor identifiers available
globally


adamsRobert M. AdamsTemporary Object Management27
Through Dual Classes

unit.cpp - listing 1, Defines Vector function unit
refcount.cpp - listing 2, Vector class with dynamic VES and
reference counting
tempvec.cpp - listing 3, Vector and Tempvector with dynamic VES

tsaiLouis TsaiDesigning an OOP Compiler37

script - listing 1, A sample script program
dialog - listing 2, A dialog file
toknizer.h - listing 3, Definition of class Tokenizer
asldlg.h - listing 4, Definition of classes Asl and Dlg
init.cpp - listing 5, Implements Initialize() for classes
Asl and Dlg
pif.h - listing 6, Definition of parse node Pif
parse.cpp - listing 7, Function parse() of Pif
pstate.cpp - listing 8, Function pstatement::parse()
pdialog.cpp - listing 9, Function PdialogStatement::parse()
pwhile.cpp - listing 10, Function Pwhile::parse()

hersheyCharles HersheyArchimedes C-51 Hosted on an49
IBM-PC compatible

arch.c - listing 1, A program to illustrate some features of
the C-51 compiler
arch.xcl - listing 2, Link file for sample program
arch.mak - listing 3, Makefile for sample program

heintzeSiegfried Intuitive Access to Bit Arrays,
HeintzeCUJ, February 1994, p. 67


boolean.h - Not listed,Replaces missing listing from February
article


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

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 8, 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)