Dec 252017
 
C/C++ Users Group magazine files for December 1994.
File CUJ9412.ZIP from The Programmer’s Corner in
Category Files from Magazines
C/C++ Users Group magazine files for December 1994.
File Name File Size Zip Size Zip Type
!CDC1212.001 12 12 stored
ALLISON 0 0 stored
DYNARRAY.CPP 456 280 deflated
EXCEPT.CPP 382 195 deflated
RTTI.CPP 762 309 deflated
TBITS.CPP 664 363 deflated
TSTR.CPP 864 417 deflated
COLVIN 0 0 stored
UNWIND.CPP 3079 1028 deflated
UNWIND.H 2265 810 deflated
FILENAME.TXT 7860 2299 deflated
GUTHRIE 0 0 stored
GUTHRIE2 0 0 stored
ALTDATE.TRB 93 70 deflated
ALTDATE.TRN 301 180 deflated
AMERICAN.TRB 94 68 deflated
AMERICAN.TRN 203 134 deflated
B_FAST.TRB 129 118 deflated
B_FAST.TRN 270 196 deflated
CURRENCY.C 1769 628 deflated
CURRENCY.DSK 1504 299 deflated
CURRENCY.EXE 35874 22189 deflated
CURRENCY.OBJ 1649 980 deflated
CURRENCY.PRJ 5122 1067 deflated
CURRENCY.TRB 89 68 deflated
CURRENCY.TRN 292 154 deflated
DEMODATE.C 3299 1066 deflated
DEMODATE.DSK 1530 303 deflated
DEMODATE.EXE 22316 12400 deflated
DEMODATE.OBJ 2155 1342 deflated
DEMODATE.PRJ 5122 1107 deflated
DINNER.TRB 196 161 deflated
DINNER.TRN 332 237 deflated
ENGLAND.TRB 94 68 deflated
ENGLAND.TRN 197 133 deflated
LANGUAGE.C 1141 489 deflated
LANGUAGE.DSK 1504 299 deflated
LANGUAGE.EXE 21468 11926 deflated
LANGUAGE.OBJ 1178 784 deflated
LANGUAGE.PRJ 5122 1059 deflated
LANGUAGE.TRB 146 94 deflated
LANGUAGE.TRN 458 184 deflated
LUNCH.TRB 168 145 deflated
LUNCH.TRN 302 218 deflated
MENU.C 2549 959 deflated
MENU.DSK 1513 306 deflated
MENU.EXE 22065 12401 deflated
MENU.OBJ 2498 1570 deflated
MENU.PRJ 5118 1087 deflated
SNACK.TRB 160 138 deflated
SNACK.TRN 294 212 deflated
SPEED_UP.C 6332 1896 deflated
SPEED_UP.DSK 1530 303 deflated
SPEED_UP.EXE 24187 13256 deflated
SPEED_UP.OBJ 4568 2492 deflated
SPEED_UP.PRJ 5362 1172 deflated
XLATE.C 19988 4758 deflated
B_FAST.TRN 270 196 deflated
CURRENCY.C 1769 628 deflated
CURRENCY.TRN 292 154 deflated
DINNER.TRN 332 237 deflated
LANGUAGE.C 1141 489 deflated
LANGUAGE.TRN 458 184 deflated
LUNCH.TRN 302 218 deflated
MENU.C 2549 959 deflated
SNACK.TRN 294 212 deflated
XLATE.C 19988 4758 deflated
XLATE.H 1062 441 deflated
PJP 0 0 stored
IOMANIP 2764 526 deflated
PUGH 0 0 stored
DUMMY.CPP 999 408 deflated
README.CUJ 4125 1870 deflated
SAKS 0 0 stored
BADDECL.H 528 224 deflated
BADFUNC.H 495 253 deflated
QUEUE10.H 2141 577 deflated
QUEUE11.H 1250 431 deflated
QUEUE9.H 1842 559 deflated
STRTST9.CPP 1621 524 deflated

Download File CUJ9412.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: Dec94 C C++ International WIN.INI Translation Exception iomanip

The code listings for the December 1994 issue of C/C++ Users Journal
include source code for R. Scott Guthrie's Text Translation Tool for C,
Gregory Colvin's C++ classes to emulate exception handling, plus sample
listings from P.J. Plauger's column Standard C/C++: The Header
, Chuck Allison's column, Code Capsules: The Standard C++
Library, Dan Saks' column, Stepping Up to C++: Generic Container
Classes, Part 6, and Ken Pugh's column, Q&A: C++ Overloaded Constructors
and Operators.
************************* FILE DESCRIPTION **********************************

The following files are included in the disk:

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


iomanip - listing 1, iomanip standard header

guthrieR. ScottA Text Translation Tool for33
GuthrieC Programmers

menu.c - listing 1, A sample application using Xlate
b_fast.trn - listing 2, A translation file (.trn) for use with
menu.c
lunch.trn - listing 3, A .trn file for use with menu.c
dinner.trn - listing 4, A .trn file for use with menu.c
snack.trn - listing 5, A .trn file for use with menu.c
language.c - listing 7, Xlate demo program for unspecified
number of entries
language.trn - listing 8, A .trn file for unspecified number of
entries
currency.c - listing 10, Xlate demo for currency formatting
currency.trn - listing 12, A .trn file for currency.c
xlate.h - listing 13, Prototypes for text translation
xlate.c - listing 14, Defines text translation functions

guthrie2R. ScottA Text Translation Tool for C
Programmers

Contains source text that was not listed, or was only partially
listed in the magazine, including:

speed_up.c - A speedup utility to make a binary image of a
translation file
speed_up.dsk - Turbo C context file
speed_up.exe - Speedup program executable
speed_up.obj - Speedup program object file
speed_up.prj - Turbo C project file
xlate.c - Full source code for translation program
xlate.h - Header file for translation program
xlate.obj - Object file for translation program
currency.c - A program to demonstrate currency formatting
currency.dsk - Turbo C context file
currency.exe - Executable made from currency.c
currency.obj - Object file made from currency.c
currency.prj - Turbo C project file
currency.trn - Translation file (text) for use with currency.exe
currency.trb - Translation file (binary) for use with currency.exe
demodate.c - A program to demonstrate date formatting
demodate.dsk - Turbo C context file
demodate.exe - Executable made from demodate.c
demodate.obj - Object file made from demodate.c
demodate.prj - Turbo C project file
altdate.trn - Translation file (text) for use with demodate.exe
altdate.trb - Translation file (binary) for use with demodate.exe
american.trn - Translation file (text) for use with demodate.exe
american.trb - Translation file (binary) for use with demodate.exe
england.trn - Translation file (text) for use with demodate.exe
england.trb - Translation file (binary) for use with demodate.exe
language.c - A program to demonstrate use with an unspecified
number of entries
language.dsk - Turbo C context file
language.exe - Executable made from language.c
language.obj - Object file made from language.c
language.prj - Turbo C project file
language.trn - Translation file (text) for use with language.exe
language.trb - Translation file (binary) for use with language.exe
menu.c - A program to demonstrate menus
menu.dsk - Turbo C context file
menu.exe - Executable made from menu.c
menu.obj - Object file made from menu.c
menu.prj - Turbo C project file
b_fast.trn - Translation file (text) for use with menu.c
b_fast.trb - Translation file (binary) for use with menu.c
lunch.trn - Translation file (text) for use with menu.c
lunch.trb - Translation file (binary) for use with menu.c
dinner.trn - Translation file (text) for use with menu.c
dinner.trb - Translation file (binary) for use with menu.c
snack.trn - Translation file (text) for use with menu.c
snack.trb - Translation file (binary) for use with menu.c

colvinGregory ColvinEmulating C++ Exception51
Handling
unwind.h - listing 1, Header for exception handling classes and
functions
unwind.cpp - listing 2, Implementation of exception handler

allisonChuck AllisonCode Capsules: The Standard69
C++ Library

except.cpp - listing 4, Illustrates the semantics of an exception
specification
rtti.cpp - listing 5, Illustrates RTTI features
tstr.cpp - listing 6, Illustrates the string class
dynarray.cpp - listing 7, Illustrates a dynamic array
tbits.cpp - listing 8, Illustrates the bits class template in a
16-bit environment

saksDan SaksStepping Up to C++: Designing81
Generic Container Classes,
Part 6

queue9.h - listing 1, A template for a queue with element of
type T using nested classes
strtst9.cpp - listing 2, A program for teseting queue
instantiated as queue
baddecl.h - listing 3, queue::cell and queue::iterator as
forward-declared nested classes (does
not compile)
badfunc.h - listing 4, Illustrates defining a member
function outside the class template
(does not compile)
queue10.h - listing 5, A template for aqueue with element of
type T using friend classes
queue11.h - listing 6, A template class for a wrapper around a
genq

pughKenneth PughQ&A: C++ Overloaded 93
Constructors and Operators

dummy.cpp - listing 1, Using a dummy parameter in an overloaed
constructo

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

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 25, 2017  Add comments

Leave a Reply