Posted By: The Channel 9 Team | Aug 26th, 2004 @ 3:47 PM | 40,460 Views | 26 Comments
Scott Currie, program manager on the Visual C++ team likes fooling around with other languages too. Here he shows off a demo of mixing VB, C#, and C++ in the same application.

Very interesting! Cool demo too, it solves a popular puzzle game.

In a separate video he talks about what C++ does to exploit the .NET CLR.
Tag: C++
Media Downloads:
Rating:
0
0
Has the Quake demo been cut? Or can we expect it in the future?

I suggested this.. everyone took the piss and said you can communicate between objects anyway.. Sad

Maurits
Maurits
AKA Matthew van Eerde
It would have been nice to see a split-screen with the person on the left and screen-captures on the right - easier to follow.

I have a sneaking suspicion I know how the cube solving algorithm works - start with a solved cube and make a random number of random moves.  Then, to solve it, make the moves backwards in reverse order. =) Flashy, but you can't use it to solve a real cube by entering the initial messy position.
It wouldn't be *that* hard to write a real solver. At least as long as you didn't try to animate the entire process of finding the solution but instead the final solution.

Not even nearly as hard as a basic chess AI.
Maurits
Maurits
AKA Matthew van Eerde
Manip wrote:
It wouldn't be *that* hard to write a real solver. At least as long as you didn't try to animate the entire process of finding the solution but instead the final solution.

Not even nearly as hard as a basic chess AI.


I suppose they might have had a cube-solving algorithm lying around.
CRPietschmann
CRPietschmann
Chris Pietschmann
Sweet, being able to use multiple lanuages in the same project is awesome. I can't wait for this.

One thing to take this to the next step is to make the IDE be able to convert the C# to VB.NET and VB.NET to C#. It would be awesome to do it in a way that a VB.NET developer could load the C# project, edit the code using VB.NET and then it saves it back in C#. Then the C# developer could go and edit it with C#. This would be very possible since C# and VB.NET only have syntax difference, there isn't anything you can do with C# that you can't with VB.NET and vice versa. This would achieve true language independance. I'm sure you could easily throw C++ in to the mix.
Ok, how about this.. next time you guys show us a samle of an app you do not use that camera, but use this nifty product instead:
 http://www.video-capture.info/

Record the screen, and use the microphone to talk as you would with the camera you always use.. We would be able to see the screen which is good! nice video btw
rasx
rasx
Programmer/Analyst III, Emperor of String.Empty
This is the second reason why C++ should be interesting to me. I'm getting the message here...
KSG
KSG
Actually it's a real solver.  You can give it an arbitrary position (reads an XML file for start position) and it will solve it.  Of course some positions will take longer than others -- some much longer.

Kang Su Gatlin
Visual C++ Program Manager
Microsoft Communities