简体   繁体   English

我想在终端窗口中运行CLion程序

[英]I want to use run my CLion programs in a Terminal window

有什么方法可以像在Windows上说Visual Studio那样在Mac上的CLion的“终端”窗口中执行程序吗?

I don't understand. 我不明白 Why can't you simply: 您为什么不能简单地:

  • open a terminal window 打开终端窗口
  • change the directory to the folder where CLion outputs the .exe file 将目录更改为CLion输出.exe文件的文件夹
  • run the .exe 运行.exe

That should be the general OS-agnostic process. 那应该是与操作系统无关的一般过程。

What part of it is stumping you on a Mac? 它的哪一部分在Mac上困扰您? We all want to help but you may have to give us more info before we can understand what you really need to know. 我们都想提供帮助,但是您可能需要向我们提供更多信息,才能了解您真正需要知道的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CLion在单独的系统终端中运行程序 - CLion run program in separate system terminal CLion 绑定快捷方式以在终端中运行命令 - CLion bind shortcut to run command in terminal 我怎样才能拥有 2 个程序并让用户选择他们想要使用的程序? - How can I have 2 programs and make the user choose which of the programs they want to use? 为什么如果我从键盘Clion输入EOF而不在运行窗口上打印程序的输出? - Why if I input EOF from keyboard Clion don't print on Run window the output of the program? 如何从Mac上的终端窗口运行g ++ - How to run g++ from a terminal window on my Mac 在 VSCode 中使用 GitBash 作为我的默认终端,我无法执行我的任何 C/C++ 程序 - Using GitBash as my default terminal in VSCode, I'm unable to execute any of my C/C++ programs CLion cout 打开命令提示符窗口而不是使用 CLion 的终端 - CLion cout opens command prompt window instead of using CLion's terminal 我不能将 Qt 与 CLion 一起使用 - I cannot use Qt with CLion 如何在我的程序中正确使用 SDL2? - How do I use SDL2 in my programs correctly? 为什么 CLion 可以运行我的程序,但我不能? [找不到程序入口点...] - Why can CLion run my program but I cannot? [Could not find procedure entry point…]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM