September 8th, 2013, 12:24 PM
I understand now. Thank you for your replies guys!
September 8th, 2013, 11:24 AM
This is where I was having the issue - casting was not something explained in that article or in my course (at least not properly). Now I understand. One more thing: if (char*)data is casting, then...
September 8th, 2013, 10:21 AM
Thank you for your respnse!
What you said is
pchar=(char*)data; // sets pchar point to the data passed in as an argument
What I don't understand is WHY does it work that way. The way I see and...
September 8th, 2013, 08:35 AM
Hello everybody, I am a beginner c/c++ wannabe programmer who is currently taking his first course on it. I was confused about pointers so I read the article on them on cplusplus.com, and while it...