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

Mistake:

  r = y; // won't compile
This will compile. It will be effectively the same as "x = y". The pointer equivalent is *p = y".

My apologies, as it's been a while since I've used C++.



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

Search: