Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Channel 9 turns 9!
Mar 17, 2013 at 9:44 AMCongrats. But, just my opinion, C9 was much better back in the day. Anders was always great. Scoble and Rory were fun and seemed honest. Microsoft needs a public advocate, someone on the inside who speaks to the legitimate complaints of users and programmers. C9 should have someone challenging the Bing team on why their search engine is not growing in popularity, for example.
C++ and Beyond 2012: Herb Sutter - You don't know [blank] and [blank]
Jan 02, 2013 at 6:30 AMbut in practice Tianyu, you end up getting some inscrutable compile errors.
Find the error in this code. Note the bullshit compile error.
void Tester2( unique_ptr<std::wstring> pString ) { } void CallTester2( ) { unique_ptr<std::wstring> pString ; Tester2( pString ) ; }4 IntelliSense: "std::unique_ptr<_Ty, _Dx>::unique_ptr(const std::unique_ptr<_Ty, _Dx>::_Myt &) [with _Ty=std::wstring, _Dx=std::default_delete<std::wstring>]" (declared at line 1447 of "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\memory") is inaccessible c:\SkyDrive\democpp\Tester\Tester.cpp 379 14 Tester
Error 3 error C2248: 'std::unique_ptr<_Ty>::unique_ptr' : cannot access private member declared in class 'std::unique_ptr<_Ty>' c:\skydrive\democpp\tester\tester.cpp 382 1 Tester
C++ and Beyond 2012: Herb Sutter - You don't know [blank] and [blank]
Jan 01, 2013 at 8:32 AMWhy is const needed anyway? C# does not have the concept.
Another C++ request ... enum class. Have a built in ToString method or enable enum class to have member functions, or add extension methods to the language. The purpose being to enable enum specific code, like Parse and ToString, to be called using dot notation from an enum instance.
enum class Colors { red, white, blue } ;
Colors color = Colors::red ;
auto textColorName = color.ToString( )
auto anotherColor = Colors::Parse( textColorName ) ;
Bigger picture. Give me a native version of C#. Or enhance the struct handling capabilites of C#. ( C# cannot efficiently handle PIDLs used by windows shell. ) Microsoft to this day says that windows shell code written in C# is unsupported. A C# like native code language would be awesome.
C++ and Beyond 2012: Herb Sutter - You don't know [blank] and [blank]
Dec 31, 2012 at 8:15 AMdoes c++11 provide yield return and extension methods as we know them from C#? Does it do away with header files?
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 12, 2012 at 4:20 PMneat. thanks!
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 12, 2012 at 2:55 PMWell, I doubt I will find a satisfactory way to organize my C++ code because I have to code in both .h and .cpp files. I like the way my C# code is organized with each class in a .cs file and those files are in folders organized along namespace lines. I like being able to return Tuples from C# methods and adding extension methods. Granted these are my little tics, but it still makes a lot of sense to me that the native language used by MSFT should be as similar to C# as possible and focused on doing what you need a native language to do - run with low overhead.
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 12, 2012 at 8:37 AMSee, I thought we simply needed a language to write efficient native code. Kind of like C with modern programming constructs like namespaces, classes, interfaces, extension methods, tuples, lambdas, collections, ... To write large apps I will use C#. For energy efficient, quick starting standalone apps give me a native language with a familiar syntax.
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 10, 2012 at 5:13 PMI am really not a complainer, but I wish MSFT would just forge ahead and do modules on their own. From my recent experience with C++ it is very difficult to organize your code when you have to split things between .h and .cpp files. Esp when I bring my C# practices to a C++ project. Filters are not a substitute for C# folders.
thanks for the explanations.
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 10, 2012 at 8:44 AMScott lost me almost as quickly as MSDN magazine does every time I try to read it. I have never seen && in c++ code. I am not completely certain about rvalue and lvalue. The r and l stand for right and left side of the expression, right? Other than that I am lost.
Still do not understand why C++, with all the additions being throw at it, is retaining the #include header file thing. That is the aspect of the language that to me makes it difficult to use and structure your code files.
John Sheehan: Windows 8 Platform
Sep 24, 2012 at 5:17 PMdon't know. Does windows 8 have a windows explorer? Does it work the same as the win7 explorer, only written using WinRT? A namespace extension enables new nodes to be added to the windows explorer hierarchy tree. Only they are incredibly difficult to write because of very cryptic COM interfaces. And they are historically written with C++, again a real hassle compared to C#. Was hoping that if the 1/2 million windows api's have been replaced with winRTclasses and methods? then windows explorer is easier to work with now.
See more comments…