giacomo399y ha scritto:eccolo ... grazie Non vorrei dire ma il primo mi dà errori con la pala.
Comunque mi spiace non poterti aiutare, le classi sono un qualcosa che ho riposto in soffitta troppo tempo fà...
In file included from satellite.h:3,
from main.cpp:3:
corpoceleste.h: In constructor `corpoceleste::corpoceleste(std:tring)':
corpoceleste.h:13: error: expected `(' before ',' token
corpoceleste.h:13: error: anachronistic old-_style_ _base_ class initializer
corpoceleste.h:13: error: unnamed initializer for `corpoceleste', which has no _base_ classes
In file included from main.cpp:3:
satellite.h: At global scope:
satellite.h:6: error: `satellite' has not been declared
satellite.h:6: error: expected identifier before "public"
satellite.h:6: error: expected unqualified-id before "public"
satellite.h:6: error: expected `,' or `;' before "public"
In file included from main.cpp:4:
stella.h:5: error: `stella' has not been declaredG