How to Run C++ file in Mac 10.10.5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to Run C++ file in Mac 10.10.5

I don't able to run c++ file in my macbook air. Any one help me for this.

1st Sep 2017, 3:59 AM
Rahul Dholariya
Rahul Dholariya - avatar
4 Answers
+ 4
Try a tutorial on installing Visual studio A IDE for mac https://www.sololearn.com/discuss/410578/?ref=app
1st Sep 2017, 4:27 AM
Manual
Manual - avatar
+ 3
Mac Tutorial - install and run Visual Studio https://youtu.be/nMcBWHuhDio
1st Sep 2017, 4:37 AM
Manual
Manual - avatar
+ 2
https://stackoverflow.com/questions/4073289/compiling-simple-hello-world-program-on-os-x-via-command-line The second answer seems to be the best out of all the others
1st Sep 2017, 7:42 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
gcc comes preinstalled with all unix platforms. you just need to convert the cpp file(s) to an executable(compile it) using gcc, or g++ for c++.
1st Sep 2017, 4:23 PM
Testing002