#include <iostream> usando el espacio de nombres estándar; Datos de clase { public: double xx; public: Datos (doble x): xx (x) {cout << "Inicializar datos" << xx << endl;} Datos () {xx = 0; cout << "Inicializar datos 0" << endl; } double getValue () {return xx;} void showValue () {cout << xx << endl;} }; int main () { Datos de datos1; doble d; cin >> d; Datos de datos (d); cout << data.getValue () << endl; data.showValue (); }