ide

using a Makefile in Xcode - or alternative IDE

▼魔方 西西 提交于 2020-04-18 06:33:53
问题 I am new to Xcode, Makefiles, and to programming generally. I have been given an existing C++ code to work with that is built using a Makefile. Using the Makefile I can build and run the executable on my Mac (MacOS 10.14.6) with no problem. The start of the Makefile is CC = g++-mp-9 -Wall -O2 -std=c++14 -fopenmp DEBUG = CFLAGS = -c $(DEBUG) -I/opt/local/include LFLAGS = $(DEBUG) -L/opt/local/lib -framework Accelerate -march=native -lfftw3 -lfftw3_threads -lopenblas -lm -lpthread -larmadillo

using a Makefile in Xcode - or alternative IDE

亡梦爱人 提交于 2020-04-18 06:32:12
问题 I am new to Xcode, Makefiles, and to programming generally. I have been given an existing C++ code to work with that is built using a Makefile. Using the Makefile I can build and run the executable on my Mac (MacOS 10.14.6) with no problem. The start of the Makefile is CC = g++-mp-9 -Wall -O2 -std=c++14 -fopenmp DEBUG = CFLAGS = -c $(DEBUG) -I/opt/local/include LFLAGS = $(DEBUG) -L/opt/local/lib -framework Accelerate -march=native -lfftw3 -lfftw3_threads -lopenblas -lm -lpthread -larmadillo

Eclipse Disable Auto Correct

无人久伴 提交于 2020-04-17 02:32:53
问题 After manually typing a method name that begins with a lower case letter e.g. load() or OpcPackage xlsxPkg = OpcPackage.load(excelFile); Eclipse 'magically' switches the first letter to upper case e.g. Load() or OpcPackage xlsxPkg = OpcPackage.Load(excelFile); This is causing a compile error. I looked around the Preferences (e.g. Java > Editor > Content Assist > Advanced) but couldn't spot the right option to disable this feature.How do I disable this auto correct feature? (Please don't

How to set C++ standard in QtCreator with ClangCodeModel plugin?

纵饮孤独 提交于 2020-04-14 07:01:01
问题 Sorry if this is a dumb question, but I have already tried almost everything and am banging my head against a wall right now.. The problem is, QtCreator 4.8.0-beta for Windows with Clang Code Model plugin parses my project as C++98 whereas in fact it is C++17. However specifying the standard version explicitly in the settings dialog is not allowed ("Option "-std=c++17" is invalid"). So, how do I tell ClangCodeModel that it should parse code as C++17? I use CMake for building the project and

How to set C++ standard in QtCreator with ClangCodeModel plugin?

左心房为你撑大大i 提交于 2020-04-14 07:00:32
问题 Sorry if this is a dumb question, but I have already tried almost everything and am banging my head against a wall right now.. The problem is, QtCreator 4.8.0-beta for Windows with Clang Code Model plugin parses my project as C++98 whereas in fact it is C++17. However specifying the standard version explicitly in the settings dialog is not allowed ("Option "-std=c++17" is invalid"). So, how do I tell ClangCodeModel that it should parse code as C++17? I use CMake for building the project and

Web IDE: 强大的在线 Cloud IDE

China☆狼群 提交于 2020-04-06 22:45:43
Web IDE: 强大的在线 Cloud IDE 1. Cloud 9 IDE ( https://c9.io/ ) language : node.js, Ruby, Python, html, css, js, java paas : Heroku, Window Azure, Cloud Foundry run : yes debug : 部分 shell : 可以开多个Shell IDE 功能强大,类似于 TextMate/Sublime,编辑流畅。 自带的Box里面有Open-JDK7, ANT, Maven等,可以支持Java的Build/Run,支持自带Language的debug。 可以开多个Shell(Alt+T), 但是实际用 Alt+T开Shell 有BUG,经常开启失败,只能用自带的那个Shell(F6)。 可以打包下载workspace,可以上传文件和目录 2. NITROUS.IO ( https://www.nitrous.io/ ) language : Go、Ruby、Python、Java, Perl, node.js, c/c++, Scala paas : Heroku, Google App Engine run : yes debug : 部分 shell : 可以开多个Shell IDE 功能简单,编辑流畅。

VS2005新建找不到模板了的解决方法

时光怂恿深爱的人放手 提交于 2020-04-05 23:05:39
今天早上new project时,VS没有模板了。网上找了一个解决方法:与大家分享一下 * 还有好像有时候用devenv / setup 这个命令好像不行。所以我建议还是用目录covert吧 Microsoft Visual Studio --------------------------- No Visual Studio template information found. See the application log in Event Viewer for more details.To open Event Viewer, click Start, click Control Panel, double - click Administrative Tools, and then double - click Event Viewer. --------------------------- 确定 --------------------------- 查看事件,有如下信息: 事件类型: 警告 事件来源: Visual Studio - VsTemplate 事件种类: 无 事件 ID: 1 日期: 2005 - 11 - 17 事件: 11 : 54 : 27 用户: N / A 计算机: GHJ1976 描述: Internal error ( 00 )

谁说Vim不是IDE?(二)

我的梦境 提交于 2020-04-04 07:18:39
环境配置 “如果你认为Vim只是一个文本编辑器,你就输了”——来自Vim老鸟 Vim以简洁的方式提供了丰富的配置功能,主要配置体系由一个文件和文件夹组成。在一台安装了Vim的OS X/Linux/Unix机器上,进入用户主目录,可以找到.vimrc文件和.vim文件夹,这就是Vim所有的配置信息。 (1).vimrc介绍 用户目录下的.vimrc文件就是Vim针对当前用户的主配置文件,该文件不是必备的,没有的话就创建它。文件位于当前用户的主目录下,可以用 ~/.vimrc 找到,Vim启动时会自动运行文件中的每条命令。 通过.vimrc我们可以为Vim进行个性化配置,包括使用方式、显示风格、编写函数和运行插件等,.vimrc中所有的命令都可以在Vim运行时通过类似 :comm args[=args1] 的方式动态运行,即时生效。 以下是一个.vimrc的样例脚本,包含了一些常用配置,后面的注释是简要说明。 .vimrc的注释用双引号(")表示 ,样例中的大括号仅表示功能区,属于注释的一部分,无其他含义 .vimrc的配置非常丰富,可以定义各种宏、函数、插件和映射,我见过最长的.vimrc配置有1000多行,这里的示例比较简单,适合入门级用户 syn on "语法支持 "common conf {{ 通用配置 set ai "自动缩进 set bs=2

Vim试水之五:配置Java开发IDE

六月ゝ 毕业季﹏ 提交于 2020-04-03 21:58:26
虽然现在搞.NET,但对Java仍有一种难以割舍的情愫。所以打算优先为Java配置一个Vim开发环境。 1、安装NerdTree 如果你看了这个系列文章的前面几篇,那么就不需要我多说了,从 http://www.vim.org/scripts/script.php?script_id=1658 下载NerdTree插件,然后将其中的plugin和doc与~Vim/Vim73/目录下的同名文件夹合并。往_vimrc中加入下面几行NerdTree配置代码: " NERDTree plugin map <F2> :NERDTreeMirror<CR> map <F3> :NERDTreeToggle<CR> 2、安装JavaBrowser A、从 http://www.vim.org/scripts/script.php?script_id=588 下载JavaBrowser插件。然后将解压得到的plugin文件夹与~/Vim/Vim73/目录下的同名文件夹合并 B、将解压得到的pixmaps文件夹下的tagindicator.xpm和tagindicator.bmp拷贝到~/Vim/Vim73/目录下的pixmaps文件夹,如果没有这个文件夹新建个(这步可选) C、设置JavaBrowser_Ctags_Cmd指向ctags,在_vimrc中添加下面代码(值填你自己的ctags路径

DIY 一套正版、免费、强大的 Visual Studio 2012 IDE

走远了吗. 提交于 2020-03-31 08:05:22
作为开发软件的程序员,应在力所能及的情况下使用正版软件。最近一直在用VisualStudio 2012 Express Desktop/Web 版本开发项目。VisualStudio 2012 Express 是免费的,功能基本上够用,但是还是有很多不足,如: (1)无法安装扩展;这个很致命,比如,想安装IronPython,没办法;想安装 Mono for Android,没办法。 (2)无法同时打开Winform项目、 C++ 项目和Web项目; (3)解决方案下不能建虚拟目录。 下面,我们来一步步克服上面问题,打造一款 正版、免费又强大的 Visual Studio 2012 IDE。本文的初始版本在有的电脑上有问题,下面是修改后的版本。 第一步: 下载,安装 Visual Studio Express for Windows Desktop 和 Visual Studio Express for Web。地址: http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products 下载安装之后,在线注册一下,就可以免费使用了。 第二步: 下载,安装 Visual Studio 2012 Shell,包括 Visual Studio Integrated Shell 和 Visual