A
A
Armyashka2022-01-09 18:14:36
macOS
Armyashka, 2022-01-09 18:14:36

How to compile c++ code via terminal on macOS?

I need to compile c++ file via g++ compiler in terminal on macOS Big Sur.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2022-01-09
@Armyashka

And what's the problem? Install command line developers tools, open a terminal, run g++, pass your source code and all sorts of keys as a parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question