Trying to understand how (and why) a URL is in a sample RRS feed

  • Question

  • The Metro sample "Simple3DGameXaml" (for C++) has a line I can't seem to comprehend.  Here's a snippet from App.xaml.cpp:

            if (m_updateState == UpdateEngineState::WaitingForResources)


                // In the middle of a game so spin up the async task to load the level.



                    return m_game->LoadLevelAsync();



    In question is the URL (http://www.google...).  This line is not commented out... it's just a "dangling url" as far as I can see. (If this is something new in the last 5 years of C++, it's new to me.)  Is it documentation, or is there more to it.  I can't figure out what to call this "feature", and an hours attempt to find what this line is has been fruitless.

    My goodness there's a lot to learn.

    Jim Tomasko

    Wednesday, June 20, 2012 2:53 AM


  • Hi Jim,

    I don't see that in the code for the XAML DirectX  3D shooting game sample (which uses Simple3DGameXaml.sln). That looks like somebody accidentally pasted a search into the file. It isn't an intentional part of the sample and can be deleted safely.


    • Marked as answer by James Tomasko Thursday, June 21, 2012 3:39 AM
    Wednesday, June 20, 2012 7:19 PM