language-extension Questions

4

Solved

I came across this weird C++ program. #include <iostream> using namespace std; int main() { int a = ({int x; cin >> x; x;}); cout << a; } Can anyone explain what is going on?...

4

How come the Linux kernel can compile only with GCC? What GNU C extensions are really necessary for some projects and why?
Tetravalent asked 20/4, 2010 at 20:49

1

Solved

Also, there is one other thing that is an lvalue in VC#, though it's a language extension - __argvalue(). Source That was the only Google result for __argvalue. I tried it in LINQPad and it d...
Gambell asked 20/11, 2009 at 14:38

© 2022 - 2024 — McMap. All rights reserved.