HP SunSoft Pascal 4.0 Instrukcja Użytkownika Strona 161

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 333
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 160
137
The C++–Pascal Interface
7
This chapter describes how to mix C++ and Pascal modules in the same
program. It contains the following sections:
Sample Interface
You must use the compiler option -lpc when you use CC to link a C++ main
routine that calls Pascal. -lpc denotes linking with the Pascal runtime
support library libpc. On the Solaris 1.x environment, if you use pc to link,
you must add the -lc option.
The -calign option causes pc to use data formats for aggregate objects
similar to those in C++.
Sample Interface page 137
Compatibility of Types for C++ and Pascal page 138
C++ Name Encoding page 138
Procedure Calls: C++–Pascal page 138
Procedure Calls: Pascal–C++ page 155
Global Variables in C++ and Pascal page 161
Pascal File Pointers to C++ page 162
Przeglądanie stron 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 332 333

Komentarze do niniejszej Instrukcji

Brak uwag