| Bjarne Stroustrup: The C++ Programming Language, Second Edition, Addison Wesley, 1992 |
....balanced T language and a compiler for it. Since the current T language is based on C , it is much like C . Therefore, in this document we focus only on T aspects of the language, paying few attention to the features that are inherited from C . The description of C can be found in [2]. In this document we discuss only the current version of T language, so below it is referred to as T language without the proto prefix. 3 Chapter 1 T language 1.1 Overall structure of T program and its execution A ready to execute T program comprises one or more executable modules, each ....
.... pointer to the packed int The following statement allocates in the outer space a new Tpacked containing an array of N ints in its knapsack. 8 p = new (N) Tpacked int ; The packed data are accessed via Tvref much like the way an ordinary C data are accessed via a pointer: p[0] 0; p = p[2] p[5] Aggregate C types may be packed as well: q : Tvrefa struct tm o : Tvrefa struct astruct int a; char b; q = new Tpacked struct tm ; allocate a single packed struct tm q = new (N) Tpacked struct tm ; allocate an array of N struct tm s o = new Tpacked astruct ; ....
Bjarne Stroustrup The C++ Programming Language, Second Edition, AddisonWesley, 1991
No context found.
Bjarne Stroustrup: The C++ Programming Language, Second Edition, Addison Wesley, 1992
No context found.
Bjarne Stroustrup: The C++ Programming Language (Second Edition). Addison-Wesley. Reading, Mass. 1991. ISBN 0-201-53992-6.
No context found.
Bjarne Stroustrup: The C++ Programming Language (Second Edition). AddisonWesley. Reading, Mass. 1991. ISBN 0-201-53992-6.
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC