Attribute VB_Name = "Const"
'数据库访问常量
Public Const SQL_C_CHAR As Long = 1
Public Const SQL_COLUMN_LABEL As Long = 18
Public Const SQL_DROP As Long = 1
Public Const SQL_DRROR As Long = -1
Public C
//
// Permedia3 Sample Display Driver
// const.h
//
// Copyright (c) 2000 Microsoft Corporation. All rights reserved.
//
// This file contains all of the global constants used in the driver. Als
// Bug: a ends up in the text segment, so trying to initialize it causes
// a seg fault.
struct A {
int i;
A(): i(0) {}
A(int j): i(j) {}
};
const A a;
const A b(1);
int main ()
{
return 0;