Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6's Playground feature for Visual Studio or another IDE that uses C++? [closed]

I have been fascinated by how Apple introduced this playground feature to Swift and Xcode where you can see the results as you program.

Is there an addon/extension for Visual Studio, or a different IDE that does the same kind of feature for C++?

Thank you in advance!

like image 767
Jordan Avatar asked Sep 29 '22 10:09

Jordan


People also ask

What is the difference between playground and Xcode?

An Xcode project allows you to create real apps that you could eventually upload to the App Store (providing you became an Apple Developer). An Xcode Playground allows you to play with code and test it out. It isn't for mainstream developing. Does that help?

Does Xcode still have playground?

You can use playgrounds in Xcode to quickly write some Swift code, experiment with new Swift syntax, or work on your Swift algorithms skills. Most of all, playgrounds in Xcode are a great way to learn Swift programming. In this tutorial, you'll learn how to get started with playgrounds in Xcode.

How do I run code in Xcode playground?

In the Swift Playgrounds app on your Mac, click Run My Code (or use the Touch Bar). If there are instructions on the right side of the screen, they slide down when you click Run My Code, so you can watch your code run in the live view. When you click Stop, the instructions slide back up.

Can you run Swift on iPad?

Swift Playgrounds is a revolutionary app for iPad and Mac that makes it fun to learn and experiment with Swift — a powerful programming language created by Apple and used by the pros to build today's most popular apps. Swift Playgrounds requires no coding knowledge, so it's perfect for students just starting out.


1 Answers

I don't know about C++, but for C# you can try http://dotnetfiddle.net

The XCode playground feature doesn't let you include header files and such, and it's only for Swift, not Objective C, fyi.

I, too, would like to see the capability in VS!

like image 179
Auri Rahimzadeh Avatar answered Oct 04 '22 02:10

Auri Rahimzadeh