• Register
0 votes
22 views

Problem: 

Can anyone help me to run C++ Programe on Mac.

How can I run C or C++ in Unix reassure or a Macintosh terminal? 

(I know it, overlook it, and relearn it once more. Time to record it.)

5 1
200 points

1 Answer

0 votes

Solution:

As referenced over, Apple's Xcode is a free, full included IDE for local applications. Be that as it may, it's not hard to squeeze it into administration for starting C++ code on a Mac, and it incorporates a GUI debugger. Note that Xcode is planned explicitly for engineers to compose macOS, iOS, tvOS and watchOS applications in Swift or Objective-C. Thus, it's not generally utilized in industry or instruction as a C++ advancement framework. In those circumstances, the attention is on Linux and Java-based IDEs. In any case, Xcode is free, ground-breaking and ends up being incredibly helpful for the understudy with a Mac. All you need is a (free) AppleID and afterward you can download it from the Mac App Store found in macOS: Apple Menu > App Store. The most recent form as of this composing is 8.3.3 and is intended to work with macOS Sierra.

I will explain, how to introduce a C++ compiler on Macintosh. (Since C++ itself is a programming language). On the off chance that you need to arrange C++ code on your Macintosh, at that point you have to introduce Xcode which has the Crash compiler for C/C++. It is an IDE (Coordinated Improvement Condition) where you can compose, order, and run your projects. In the wake of introducing Xcode, you may even utilize a content manager to compose and the Terminal to arrange/run C++ programs. Xcode can be downloaded from the Application Store on your Macintosh. You can likewise basically introduce the xcode order line instruments on the off chance that you don't need the entire IDE. You can likewise introduce compilers utilizing famous macOS bundle directors like MacPorts and Homebrew.

Summary:

Introduce Xcode from Application Store. 

At that point open it and make another task, there select new terminal application, use c++ in language inclination, and presto you're all set. 

You can use code squares to incorporate your projects as well!!

3
460 points

Related questions

0 votes
1 answer 21 views
21 views
Problem: I am little bit confused, which is correct answer? Which early browser was the first to run on multiple computer platforms including Windows?​ ​a) Mosaic b) Internet Explorer c) none of the above d) Safari
asked Feb 21 maddi86 5.4k points
0 votes
1 answer 6 views
6 views
Problem: I have been doing the programming in JAVA and Python, coding the programs in Notepad++ and compiling them using command prompt command and it is working absolutely fine. Now, I wanted to run C++ code in CMD but failed do so as I was doing for Java and Python. Can anyone help me with the problem of how to run the C++ program in cmd?
asked Oct 8 sikandar 2.4k points
0 votes
1 answer 15 views
15 views
PROBLEM: How to compile and run C / C ++ on a Mac Unix console / terminal? How can I compile / run C or C ++ on Unix console or Mac terminal?
asked Aug 31 sasha 1.2k points
0 votes
1 answer 43 views
43 views
Problems: Can anyone give the right solution by filling in the blanks? Deleted files on a mac computer are moved to the ________?
asked Feb 14 maddi86 5.4k points
0 votes
1 answer 43 views
43 views
Problem: Which device file below represents the first primary partition on the second pata hard disk drive? Does any one know about this device name?
asked Feb 19 maddi86 5.4k points