Rethinking how to teach C++, part 3: The first data structures

Por: Colaborador(es): Analíticas: Mostrar analíticasTipo de contenido:
  • texto
Tipo de medio:
  • sin mediación
Tipo de soporte:
  • volumen
Tema(s):
Contenidos:
In effect, we chose to present these low-level data structures because they worked so well with what we had already presented, namely types that all acted like values. In particular, s t r i n g and all the numeric types are valuelike types, and if T is a valuelike type, then so is ve ct or. Therefore, although st ru ct types appear to be primitive, they combine nicely with the st ri ng and vector classes and allow programmers to build up data structures of unbounded richness.
En: JOOP : the journal of object-oriented programming (vol. 13, nro. 9, Jan. 2001), p. 35-38S.T.:H004.415 JOU PP3429
Valoración
    Valoración media: 0.0 (0 votos)
No hay ítems correspondientes a este registro

In effect, we chose to present these low-level data structures because they worked so well with what we had already presented, namely types that all acted like values. In particular, s t r i n g and all the numeric types are valuelike types, and if T is a valuelike type, then so is ve ct or. Therefore, although st ru ct types appear to be primitive, they combine nicely with the st ri ng and vector classes and allow programmers to build up data structures of unbounded richness.

No hay comentarios en este titulo.

para colocar un comentario.