Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Cf. https://www.youtube.com/watch?v=0m6iFd9N_CY which features this code:

    func soldAnother(a *album) {
    a.copies++ // note the pointer. Can use dot notation on pointer,
    // equivalent to (*a).copies++)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: