[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference star::wizards

Title: "ASK THE WIZARDS"
Moderator:QUARK::LIONEL
Created:Mon Oct 30 1995
Last Modified:Mon May 12 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1857
Total number of notes:3728

1520.0. "Open: VAX C nonconformace to standards" by STAR::JKEENAN () Mon Feb 03 1997 12:24

Return-Path: "VMS001::WWW"@vms001.das-x.dec.com
Received: by vmsmkt.zko.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Wed, 29 Jan 1997 21:46:16 -0500
Received: from vms001 by mail11.digital.com (8.7.5/UNX 1.5/1.0/WV)
	id VAA31991; Wed, 29 Jan 1997 21:38:02 -0500 (EST)
Date: Wed, 29 Jan 1997 21:38:14 -0500
Message-Id: <[email protected]>
From: "VMS001::WWW"@vms001.das-x.dec.com (29-Jan-1997 2138)
To: [email protected], [email protected], [email protected]
Subject: Ask the Wizard: '[email protected]'
X-VMS-To: [email protected]

Remote Host: becrux.process.com
Browser Type: Mozilla/3.01 (WinNT; I)
Remote Info: <null>
Name: Steve Bazyl
Email Address: [email protected]
CPU Architecture: VAX
Version: v 6.2
Questions: 

VAXC doesn't appear to conform to C standards(duh...)
for scansets in scanf().  I'd like to know how
to include the [] characters in the scanset.  Standard
C says that if the first characters in the scanset
are [], then the second ] is the closing bracket,
however, vaxc treats the scanset [[]ABC] to be just the
"[" character.

Any help would be appreciated.
T.RTitleUserPersonal
Name
DateLines
1520.1Use DEC C, PleaseXDELTA::HOFFMANSteve, OpenVMS EngineeringMon Feb 10 1997 18:407
   VAX C was replaced five years ago with DEC C, which does conform to
   ANSI C standards.  Both VAX C and DEC C can be installed and used on
   the same system, and a current VAX C "C" license PAK permits the use
   of DEC C.  DEC C can be used on V5.5-2 and later.  An RTL kit is needed
   for V5.5-2 and V6.0, while RTL support is integrated into OpenVMS V6.1
   and later.