4 ms·
Is this hypothetical or can I actually use ^ in c?
by dvh 3y ago
Is this hypothetical or can I actually use ^ in c?
- Dwedit 3y agoYou can use it in C++/CLI, basically C# with much worse syntax.
- 4gotunameagain 3y agoYou can, but it is the XOR operator. It says a bit above: If we were to craft a C-like language
- pajko 3y ago^ actually is a language symbol of Apple's C compilers, used for a different purpose (lambdas): https://en.wikipedia.org/wiki/Blocks_(C_language_extension) https://en.wikipedia.org/wiki/Blocks_(C_language_extension)
- zokier 3y agoMicrosofts C++ extension is probably more relevant here: Foo^ foo = ref new Foo(); https://en.m.wikipedia.org/wiki/C%2B%2B/CX#Objects https://en.m.wikipedia.org/wiki/C%2B%2B/CX#Objects
- edflsafoiewq 3y agoIt's hypothetical. The use of ^ for pointers comes from Pascal.