冰狼

在努力、磨练、打击下不断地向着理想的财务自由方向前进

复习的准备:第二步

土制火炮
《论语·魏灵公》:“工欲善其事,必先利其器。居是邦也,事其大夫之贤者,友其士之仁者。”
我不喜欢学习的时候打开一堆我不用的东西,也不喜欢在学习的时候打开一个庞大的IDE,狂占内存。
那么,只有自己弄一个了,虽然安装了一堆IDE,但是可以自己用命令行搞定的东西就不必打开那堆框框了,呵呵。
EditPlus和UltraEdit都可以,自己用这开心就行了。
EditPlus和Dev cpp、vc、MinGW弄在一起都也挺好用的,呵呵。
我先安装一个Dev cpp,用Dev C++也行,不过这个东西不更新了,还是选择wx-Devcpp吧,以后做projects也方便,呵呵。
Dev C++相关的东东就去这里找吧http://www.bloodshed.net/   下载地址http://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe
wx-Devcpp相关的东东就去这里找吧http://wxdsgn.sourceforge.net/   下载地址 http://downloads.sourceforge.net/wxdsgn/wxdevcpp_6.10.2_setup.exe
安装就不用说了吧,随便安装到哪里都行,这是爷的安装目录D:\cplus\Dev-Cpp
然后就是配置一下了
Dev C++ ==> EditPlus里面:
菜单文本(T):Dev C++编译
命令(O):D:\cplus\Dev-Cpp\bin\g++.exe
参数(E):"$(FilePath)" -o "$(FileNameNoExt)"
起始目录(I):$(FileDir)
打勾:捕获输出(U)、运行时自动保存打开文件

菜单文本(T):Dev C++ Run
命令(O):$(FileNameNoExt)
参数(E):null
起始目录(I):$(FileDir)
打勾:运行时自动保存打开文件

然后就可以试试了,呵呵,编写一个必不可少的“Hello World”吧。

Visual C++ 6.0 ==> EditPlus里面:
菜单文本(T):Visual C++ 6.0 编译
命令(O):C:\Program Files\Microsoft Visual Studio\VC98\Bin\CL.EXE
参数(E):$(FilePath)
起始目录(I):$(FileDir)
打勾:捕获输出(U)、运行时自动保存打开文件

菜单文本(T):Visual C++ 6.0 Run
命令(O):$(FileNameNoExt)
参数(E):null
起始目录(I):$(FileDir)
打勾:运行时自动保存打开文件

然后就可以试试了,呵呵,再编写一个必不可少的“Hello World”吧。

Visual C++ 2005 ==> EditPlus里面:
编写bat文件存放在相应的目录..\Microsoft Visual Studio 8\VC\bin\cl.bat

echo off
call "%VS80COMNTOOLS%vsvars32.bat"
if "%1" == "" goto usage
cl.exe "%1"
goto :eof

:usage
echo:
echo Error using cl.bat. The correct usage is:
echo     %0 Filename
echo:
echo For example:
echo     %0 C:\example.cpp
goto :eof

菜单文本(T):Visual C++ 2005 编译
命令(O):"C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.bat"
参数(E):$(FilePath)
起始目录(I):$(FileDir)
打勾:捕获输出(U)、运行时自动保存打开文件

菜单文本(T):Visual C++ 2005 Run
命令(O):$(FileNameNoExt)
参数(E):null
起始目录(I):$(FileDir)
打勾:运行时自动保存打开文件

然后就可以试试了,呵呵,再编写一个必不可少的“Hello World”吧。

下面就是比较好玩的了,上面都是比较SB的东西,基本上是傻子玩的,还是GNU的东东我比较青睐,呵呵。
去下载个Cywin吧,要不MinGW也行啦,他俩安装的方式一样,都是弄个客户端然后下载安装,这种方式老子觉得还真TMD傻X,感觉象受骗一样。
别忘记了把他们的bin路径写到环境变量里面去,这样在cmd中也可以使用啦。
GNU g++ ==> EditPlus
菜单文本(T):GNU g++ 编译
命令(O):g++
参数(E):$(FilePath) -o $(FileNameNoExt)
起始目录(I):$(FileDir)
打勾:捕获输出(U)、运行时自动保存打开文件

菜单文本(T):GNU C++ Run
命令(O):$(FileNameNoExt)
参数(E):null
起始目录(I):$(FileDir)
打勾:运行时自动保存打开文件

然后就可以试试了,呵呵,再编写一个必不可少的“Hello World”吧,这次感觉就不一样了吧,总是没有被ms束缚的感觉了。

最后加上一个怀旧的东东,有人如果对于TC的还是很怀念的化,毕竟大家都是从哪里学出来的,可能若干年后师弟师妹们就不知道蓝色的TC是什么东西了,上来就直接高级的IDE了,怀旧一下吧:

菜单文本(T):Compile And Link
命令(O):C:\TC3\BIN\TCC.EXE
参数(E):$(FileName)
起始目录(I):$(FileDir)
打勾:捕获输出(U)、运行时自动保存打开文件

菜单文本(T):Option
命令(O):C:\TC\TCC.EXE
参数(E):
起始目录(I):$(FileDir)
打勾:捕获输出(U)、运行时自动保存打开文件

菜单文本(T):Run
命令(O):
参数(E):$(FileDir)\$(FileNameNoExt).exe
起始目录(I):$(FileDir)
打勾:运行时自动保存打开文件

菜单文本(T):Output Assembly Code
命令(O):C:\TC\TCC.EXE
参数(E):-Ic:\tc\include -Lc:\tc\lib -S $(FilePath)
起始目录(I):$(FileDir)
打勾:捕获输出(U)、运行时自动保存打开文件

菜单文本(T):View Assembly Code
命令(O):D:\Program Files\EditPlus 2\editplus.exe
参数(E):$(FileDir)\$(FileNameNoExt).asm
起始目录(I):$(FileDir)
打勾:运行时自动保存打开文件

切忌要把TC的目录也添加到环境变量里面,要不然出现的诡异的错误是你想想不到的啦,哈哈!

经过一番搞搞,老子可以轻而易举的写C++ code了,快快乐乐的coding,不过要是写paper就不太好弄了,还是习惯回ubuntu去。


posted on 2007-06-12 17:10 在法律保护下合法地抢银行 阅读(870) 评论(6)  编辑 收藏 引用

评论

# re: 复习的准备:第二步 2007-12-19 05:03 sdgsdg

http://jessica-simpsons-sexe.arrapata-usl.info
http://rabbit-veu-cul.minchia-usl.info
http://image-chatte-sans-poil-gratuite.arrapata-usl.info
http://donna-lesbica-mature.fotoporno-vfl.info
http://rapport-tabou-sexe.3554-usl.info
http://porno-tetta-piccola.pensano-cho.info
http://porno-tube-media-php-m-60928.fotoporno-vfl.info
http://immagine-erotica-amatoriale-it.fotoporno-vfl.info
http://cazzo-in-fica-bionda.pensano-cho.info
http://baise-couple.solosessoit-usl.info
http://sexvideo-amatoriali.fotoporno-vfl.info
http://photo-gratuite-chatte-en-chaleur.solosessoit-usl.info
http://sapphic-erotica-free.pensano-cho.info
http://passere-nere-foto-gratis.pensano-cho.info
http://photo-de-sexe-de-femme-obese.3554-usl.info
http://gamba-pelosa.fotoporno-vfl.info
http://foto-porno-hardcore.fotoporno-vfl.info
http://salope-en-mini-jupe.minchia-usl.info
http://sesso-cazzo.fotoporno-vfl.info
http://telecharger-film-cul-hard-francais.arrapata-usl.info
http://brasiliane-sexi.fotoporno-vfl.info
http://pique-nique-bouche-rhone.arrapata-usl.info
http://gif-baiser-gratuit-anime.minchia-usl.info
http://echange-video-sexe.arrapata-usl.info
http://gode-cul.minchia-usl.info
http://archive-movie-porno-star.pensano-cho.info
http://racconto-illustrato-porno-coppia.pensano-cho.info  回复  更多评论   

# re: 复习的准备:第二步 2007-12-23 08:12 xzcd

http://videoclip-porno-windows-media-players-gratis.teresa-tun.info
http://culo-peloso-cazzo-storie.asiannudes-tun.info
http://salope-bonne-baiser.lexington-elb.info
http://www-super-gnocca-gratis.asiannudes-tun.info
http://video-sexe-et-drole.gem-elb.info
http://viaggio-sesso-ragazza-estonia.teresa-tun.info
http://young-matura-lesbo.teresa-tun.info
http://chatte-tres-poilu-gratuite.lexington-elb.info
http://annonces-travesti.vagine-elb.info
http://jeunette-sexe.vagine-elb.info
http://donna-matura-scopano-video-gratis.teresa-tun.info
http://sexe-porno-avec-video-gratuite.lexington-elb.info
http://casseur-cul-photo-anal-gratuit.lexington-elb.info
http://salope-gratuit-live.denrico-elb.info
http://sexe-video-telecharger.lexington-elb.info
http://blog-voyeur-amateur-sexe.gem-elb.info
http://le-plus-grand-sexe-masculin.lexington-elb.info
http://vecchia-donna-troia.teresa-tun.info
http://vieille-pute-sur-edencast.denrico-elb.info
http://annonces-sexe-paris-gratuit.lexington-elb.info
http://noeud-pĂŞche-brochet.gem-elb.info
http://free-trailer-extreme-sexe.lexington-elb.info
http://video-de-sexe-xxl.gem-elb.info
http://mutanda-vip-tv.asiannudes-tun.info  回复  更多评论   

# re: 复习的准备:第二步 2007-12-29 00:40 snowman

http://foto-teen-agers-troie.treable.cn/
http://froci-video-gratis.treable.cn/
http://pic-figa.treable.cn/
http://fiche-mature-foto-gratis.treable.cn/
http://elena-sexi-anale.treable.cn/
http://bondage-cutie.treable.cn/
http://jessica-polski-porno.treable.cn/
http://foto-tette-piu-grandi-del-mondo.treable.cn/
http://foto-party-sex.treable.cn/
http://esxy-arabic.treable.cn/
http://cerco-putane.treable.cn/
http://www-siti-porno-it.treable.cn/
http://spiagge-sexi.treable.cn/
http://rotten-ogrish.treable.cn/
http://149216196-zje6c9wae4n-info.treable.cn/
http://racconti-piccanti-gratis.treable.cn/
http://trans-asiatiche-negre-e-viados.treable.cn/
http://cicciolina-che-fa-sesso-con-gli-animali.treable.cn/
http://video-amatoriali-donne-50.treable.cn/
http://bansko-edelwiess-hotel.treable.cn/
http://hartcor-porno.treable.cn/
http://galleria-di-cosce-mature.treable.cn/  回复  更多评论   

# re: 复习的准备:第二步 2007-12-29 00:40 snowman

http://caronte-messina-s-giovanni.bufonery.cn/
http://ragazze-porcelle.bufonery.cn/
http://fotos-tenebrosas.bufonery.cn/
http://pornostar-lesbiche.bufonery.cn/
http://fotogallery-eros-ramazzotti.bufonery.cn/
http://feticismo-cacca.bufonery.cn/
http://lesbica-con-prostitute.bufonery.cn/
http://immagini-esagerate.bufonery.cn/
http://cartoni-animati-lesbiche.bufonery.cn/
http://sony-cd-mex-1gp-renault.bufonery.cn/
http://canalis-nuda.bufonery.cn/
http://agenzia-matrimoniale-energia-e-amore.bufonery.cn/
http://autoscatti-amatoriali-porno.bufonery.cn/
http://cavalli-che-scopano-ragazze.bufonery.cn/
http://ragazze-ungherese-calde.bufonery.cn/
http://fetis-piedi-collant.bufonery.cn/
http://foto-di-vecchio-scopa-giovane-figa.bufonery.cn/  回复  更多评论   

# re: 复习的准备:第二步 2007-12-29 00:41 snowman

http://fica-a-gambe-aperte.bronness.cn/
http://racconti-erotici-su-suocere.bronness.cn/
http://clip-amatoriali-presi-in-chat.bronness.cn/
http://sborra-piscia-e-merda.bronness.cn/
http://sadomaso-sample-video.bronness.cn/
http://bellissimi-sederi.bronness.cn/
http://zucchero-lyrics-figa.bronness.cn/
http://schemales.bronness.cn/
http://troie-da-fano.bronness.cn/
http://ragazi-che-si-fanno-seghe.bronness.cn/
http://tanga-foto-in-pubblico.bronness.cn/
http://helsiniki.bronness.cn/
http://sexy-professoressa.bronness.cn/
http://grasse-troie-foto.bronness.cn/
http://foto-gratis-cicciolina-inculata-da-cavallo.bronness.cn/
http://hunziker-spogliarello.bronness.cn/
http://ragazze-chefanno-le-seghe.bronness.cn/
http://raccontti-hard.bronness.cn/
http://sesso-e-seghe.bronness.cn/  回复  更多评论   

# re: 复习的准备:第二步 2007-12-29 00:41 snowman

http://video-scopate-demo.brocloth.cn/
http://sopacana.brocloth.cn/
http://mature-fanno-bocchini.brocloth.cn/
http://figa-tortur.brocloth.cn/
http://miley-cyrus-nuda.brocloth.cn/
http://scopate-di-selen.brocloth.cn/
http://spogliarello-asiatica.brocloth.cn/
http://sitewww-nonne-roszefs-kalisz-pl-piesex.brocloth.cn/
http://www-saddamhussein-it.brocloth.cn/
http://video-gratis-zoccole-e-travestiti.brocloth.cn/
http://le-casalinghe-polacche.brocloth.cn/
http://lolaboy.brocloth.cn/
http://camera-inidscreta.brocloth.cn/
http://ragazze-modenesi-porche.brocloth.cn/
http://brema-giubbotti-moto.brocloth.cn/
http://donne-maturee-free.brocloth.cn/
http://donne-scure.brocloth.cn/
http://foto-ditalini-vibratori.brocloth.cn/
http://cucu-cuckold.brocloth.cn/
http://bionde-infermiere-troie.brocloth.cn/
http://grande-inculata.brocloth.cn/
http://tette-anormali.brocloth.cn/  回复  更多评论   


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


公告

转载、引用、收藏,请标明来自:

http://www.cppblog.com/paladino

导航

<2024年3月>
252627282912
3456789
10111213141516
17181920212223
24252627282930
31123456

统计

留言簿(2)

随笔分类(10)

文章分类(5)

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜