HP OpenVMS Systems

ask the wizard
Content starts here

C++ library include syntax?

» close window

The Question is:

 
The header file nfbdef.h is found when using C compiler (CC foo.c libraries)
 but not found, neither in SYS$LIB_C.TLB nor in SYS$STARLET_C.TLB, when using
 C++ compiler (CXX foo.c libraries). What would be the best way to deal with
 this problem while moving
 from C to C++???
 


The Answer is :

 
  The nfbdef module exists in sys$share:sys$lib_c.tlb.
 
  DEFINE CXX$TEXT_LIBRARY SYS$LIBRARY:SYS$LIB_C.TLB would be one
  approach.  Please see the compiler documentation for complete
  instructions: http://www.openvms.compaq.com/commercial/
 
  Specifically, please see the file include syntax and options
  for C++ for further details:
 
    http://www.openvms.compaq.com/commercial/
      cplus/alpha_doc/ugvimpl.htm#file_incl_sec
 
 

answer written or last revised on ( 9-OCT-2000 )

» close window