运行xcode/Visual Studio项目的代码块 [英] code blocks running xcode/visual studio project

查看:138
本文介绍了运行xcode/Visual Studio项目的代码块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名学习统计学的学生.

I am a student studying statistic.

我的C ++老师要求我们始终通过code :: block提交项目.

And my C++ teacher asked us to submit project always by code::block.

但是,我更有可能在mac os上工作.

However, I am more likely to work with mac os.

和code :: blocks在Mac上无法正常运行.

And code::blocks not running good with mac.

是否可以将Xcode/Visual Studio项目转换为code :: block

Is that possible to convert Xcode/Visual studio project to code::block

推荐答案

您需要记住,code :: blocks或XCode是IDE(集成开发环境),这意味着它们基本上是文本编辑器.生成程序所需要的是经过编译的,并且IDE通常随附捆绑有一个编译器.IDE通常要做的是将所有文件保存在一起,并添加一些信息,例如编译器开关等.

You need to keep in mind that code::blocks or XCode are IDEs (Integrated Development Environments) which means basically they are text editors. What you need to build a program is a compiled and an IDE usually comes with a compiler bundled with it. What an IDE usually does is keep all you files together and add some info like compiler switches and so on.

此作业通常由单独的程序(构建工具)处理.make程序可能是这些程序中最古老的程序,您需要了解它们的工作方式.

This job is usually handled by a separate program, the build tool. The make program is probably the oldest of these programs and you need to have an idea of how they work.

要提出问题,您可以使用所需的任何编辑器/IDE来构建程序,然后可能需要获取.cpp文件并将其导入另一个文件中.

To get to your question you can build your program with whatever editor/IDE you want, then you may need to get your .cpp files and import them in another one.

这篇关于运行xcode/Visual Studio项目的代码块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆