Setting up cpp on macos — различия между версиями
Материал из Wiki - Факультет компьютерных наук
Iko (обсуждение | вклад) (Новая страница: «= Setting up <code>C++</code> on macOS = # [https://itunes.apple.com/ru/app/xcode/id497799835?l=en&mt=12 Install Xcode from the App Store] # Launch Xcode # You w…») |
Iko (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | |||
− | |||
# [https://itunes.apple.com/ru/app/xcode/id497799835?l=en&mt=12 Install Xcode from the App Store] | # [https://itunes.apple.com/ru/app/xcode/id497799835?l=en&mt=12 Install Xcode from the App Store] | ||
# Launch Xcode | # Launch Xcode | ||
# You will be asked to read the license agreement and enter your administrator password for your computer | # You will be asked to read the license agreement and enter your administrator password for your computer | ||
− | [[File:Setting_up_C++_on_macOS_1.png]] | + | [[File:Setting_up_C++_on_macOS_1.png|700x700px]] |
− | [[File:Setting_up_C++_on_macOS_2.png]] | + | [[File:Setting_up_C++_on_macOS_2.png|700x700px]] |
<ol start="4" style="list-style-type: decimal;"> | <ol start="4" style="list-style-type: decimal;"> | ||
<li>Wait for Xcode to install the required components</li></ol> | <li>Wait for Xcode to install the required components</li></ol> | ||
− | [[File:Setting_up_C++_on_macOS_3.png]] | + | [[File:Setting_up_C++_on_macOS_3.png|700x700px]] |
<ol start="5" style="list-style-type: decimal;"> | <ol start="5" style="list-style-type: decimal;"> | ||
<li>After installation you will be greeted with the Xcode welcome window</li></ol> | <li>After installation you will be greeted with the Xcode welcome window</li></ol> | ||
− | [[File:Setting_up_C++_on_macOS_4.png]] | + | [[File:Setting_up_C++_on_macOS_4.png|700x700px]] |
You have now installed the developer tools and you can now start developing <code>C++</code> applications. | You have now installed the developer tools and you can now start developing <code>C++</code> applications. |
Версия 03:08, 9 января 2019
- Install Xcode from the App Store
- Launch Xcode
- You will be asked to read the license agreement and enter your administrator password for your computer
- Wait for Xcode to install the required components
- After installation you will be greeted with the Xcode welcome window
You have now installed the developer tools and you can now start developing C++
applications.
You can manually compile programs from the command line using clang++
instead of gcc
.
At this point you can either: