Duckling Napisano Wrzesień 10, 2018 Autor Zgłoś Napisano Wrzesień 10, 2018 wiemy: class jakas { static char bla[] ; } ; char jakas::bla[] = "test" ; Cytuj
Freak Napisano Wrzesień 10, 2018 Zgłoś Napisano Wrzesień 10, 2018 Możesz też w konstruktorze jakas::jakas() { strcpy(bla,"jakiś tekst"); } Cytuj
Aspect Napisano Wrzesień 10, 2018 Zgłoś Napisano Wrzesień 10, 2018 Zmienne standardowo inicjuje się w konstruktorze klasy (do tego własnie służy konstruktor). Cytuj
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.