Netbeans and Remote Host for C/C++ Developing

Netbeans and Remote Host for C/C++ Developing

很久以来,因为我不适应在 Linux 下使用 Vim, GCC, GDB 开发 C/C++ 程序,所以我一直找了很多办法在逃避。

然而现在好了,Netbeans 可以配置远端构建和运行代码的机器,于是我可以在 windows 客户机上使用 IDE(Netbeans) 编写程序,然后由 IDE 自动地把代码上传到 Linux 服务器并执行。调试也是一样的方便。

Setting Compile Options

Sometimes, code needs external identified compile options, such as :

word2vec.c -o word2vec -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result

"-lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result" is the compile options.

How to set?

528745-20181018184632055-1366814478.png

Setting Command Parameters

Sometimes, code needs command parameters to run, such as :

./word2vec -train text8 -output vectors.bin -cbow 1 -size 200 -window 8 -negative 25 -hs 0 -sample 1e-4 -threads 20 -binary 1 -iter 15

" -train text8 -output vectors.bin -cbow 1 -size 200 -window 8 -negative 25 -hs 0 -sample 1e-4 -threads 20 -binary 1 -iter 15"

528745-20181018184835878-1413200168.png

转载于:https://www.cnblogs.com/fengyubo/p/9812430.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值