I'm new to C++ programming and am going through some examples that I found a while back. Since I am a decent Java programmer, I'm making good progress (at least from my perspective :D).
Now I've come across something I cannot figure out what it does:
Threading::Thread ^ th = Threading::Thread::CurrentThread;
Net::IPEndPoint^ hostEp;
What is the purpose of the ^
? And is there a difference between the useage in the two lines I've only known this to be the XOR Operator.
Thanks in advance
Definition of in duplicate 1 : so that there are two copies We were required to fill out the paperwork in duplicate. 2 : with an exact copy Please send the contract in duplicate.
Duplicate is used to describe things that have been made as an exact copy of other things, usually in order to serve the same purpose.
It's called duplicate work – literally redoing work that's already been done – and you can just imagine what it's doing to your productivity.
The verb duplicate is pronounced differently, with a long a sound, and it means to make a copy of or to multiply times two. The Latin root, duplicatus, means "to double."
This code is not C++, it is C++/CLI. ^
is an extension that denotes a pointer to a managed object instance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With