Yes sorry. You passed width... Sorry I didn't specify by reference... but I meant passing by reference.
Now I understand why you didn't. Thank you for explaining, your time and help, mate .
Search found 3 matches
- October 18th, 2019, 4:10 pm
- Forum: Everything
- Topic: Help understanding a line in 8s solutions please.
- Replies: 5
- Views: 2087
- October 14th, 2019, 3:31 pm
- Forum: Everything
- Topic: Help understanding a line in 8s solutions please.
- Replies: 5
- Views: 2087
Re: Help understanding a line in 8s solutions please.
Sorry my bad. Wrote it by memory because I was from the phone and forgot. Now I remmver i wrote Bouncexfunction.... Using the variables from the class game. And then I did this line. poo0x += Vpoo0x; Thinking the Vpoo0x will get the new value based on the x and width. You were totally right that did...
- October 13th, 2019, 2:56 pm
- Forum: Everything
- Topic: Help understanding a line in 8s solutions please.
- Replies: 5
- Views: 2087
Help understanding a line in 8s solutions please.
Helloooo I am so glad to have found these videos. It's really the best way to learn cpp I found so far. it's really entertaining to learn programming like this. Would love to understand a few lines from the number8 solution. I managed to complete the bouncing exercise by just adding a condition if p...