• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            任我行

            一天一個(gè)腳印......
            每日一句:
            posts - 54, comments - 218, trackbacks - 1, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            這文章適合新手,對(duì)老鳥就不要太強(qiáng)求了。

            為方便更多網(wǎng)友在使用UltralEdit-32的同時(shí),挖掘UltralEdit-32更多的功能。當(dāng)初我在使用UltralEdit-32配置編譯環(huán)境的時(shí)候,費(fèi)了幾個(gè)彎彎。
            UltraEdit-32這個(gè)強(qiáng)大文字編譯器應(yīng)該用過吧。通過一些簡單的配置也可以做成編譯器哦。
            雖然比不上像VC這么強(qiáng)大的編譯器,但是對(duì)于一些簡單的程序,特別是單個(gè)文件的編譯,非常的方便,不用你去建立什么工程等等。。。

            下面就來配置我們的UltraEdit-32吧。
            第一步、首先當(dāng)然是下載UltraEdit-32,最好下載一個(gè)中文版,然后安裝。

            第二步、下載C/C++編譯器。
            推薦:MinGW(一個(gè)Windows平臺(tái)下的GCC編譯器,屬于免費(fèi)的哦。)
            http://sourceforge.net/projects/mingw,選擇一個(gè)版本比較高的下載,我下的是MinGW3.1 版本:http://jaist.dl.sourceforge.net/sourceforge/mingw/MinGW-3.1.0-1.exe
            然后安裝好。具體安裝就不啰嗦了。?

            第三步、設(shè)置環(huán)境變量path:
            這里以我的機(jī)器為例說明:在path最后面加入C:\MinGW\bin;然后調(diào)出DOS窗口,鍵入>>gcc,如果輸出:gcc: no input files,說明你的環(huán)境配置好了。這時(shí)可以用gcc編譯程序了,不過,在Dos窗口中就是不方便。輸入:
            >>gcc --help會(huì)輸出gcc的一些編譯設(shè)置,
            >>gcc -v 輸出gcc的版本等信息。
            >>gcc -o xxx.exe xxx.cpp 編譯xxx.cpp文件,生成xxx.exe可執(zhí)行文件。
            更多的gcc命令請(qǐng)參考gcc手冊(cè)。網(wǎng)上搜搜,會(huì)有很多。這里貼一個(gè)GCC中文手冊(cè)

            第四步、設(shè)置UltralEdit-32:
            打開UltralEdit-32,高級(jí)->工具欄設(shè)置,這時(shí)會(huì)跳出一個(gè)窗口(UltralEdit-32版本不同稍有差別),點(diǎn)插入,在菜單項(xiàng)目名稱輸入:Compile C/C++;在命令行輸入:g++ -o %n.exe %p%n%e;工作目錄輸入%p;基本上與在DOS窗口中編譯沒有什么區(qū)別。還可以選用自己指定的庫,lib,include文件等,參考GCC手冊(cè)。
            這里%n(UltralEdit-32本身的參數(shù))表示你正在編寫的文件名,%e表示擴(kuò)展名,%p表示此文件的目錄。具體請(qǐng)查看UltralEdit-32的幫助。
            在選項(xiàng)一欄有Dos和Windows程序可選擇,表示你編譯的程序類型,輸出一欄請(qǐng)勾中輸出到列表框,捕獲輸出和不替換。
            然后應(yīng)用、確定,在高級(jí)一欄就會(huì)出現(xiàn)一個(gè)"Compile C/C++"菜單。
            點(diǎn)擊"Compile C/C++"菜單看會(huì)出現(xiàn)什么效果?
            到這時(shí),UltralEdit-32編譯器配置的差不多了。但每次都要高級(jí)->Compile C/C++也挺不方便的。要是能想VC那樣把這個(gè)菜單放到界面上來就好了。

            第五步、把"Compile C/C++"搬到工具欄:
            這一步比較簡單,在工具欄右鍵->自定義工具欄,在出現(xiàn)的窗口中右側(cè)找到剛才添加的菜單,用戶工具1,添加到左側(cè)欄,自己調(diào)整順序,確定,OK了。
            同樣的辦法,還可以添加一個(gè)名為"運(yùn)行"的菜單,就是運(yùn)行剛才編譯好的程序,然后添加到工具欄。

            到這時(shí),大功告成了。

            程序?qū)懞昧?-> Compile C/C++ -> Run...
            有點(diǎn)像VC6哦。

            最后,別對(duì)UltralEdit-32要求太高。至于其它應(yīng)用,待你我的挖掘中。

            Feedback

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-04-20 14:33 by Neo
            cool!

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-04-24 08:36 by john
            cool too !

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-04-30 15:34 by
            今天心情好,你不如用uestudio了,都配置好了

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-05-26 23:40 by roger007
            偶只用過它來編譯JAVA,
            只是嘗鮮而已,沒太多感覺。

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-06-05 00:07 by rainday
            這些技巧玩玩不錯(cuò).真的用起來就不怎么樣了.^_^

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-06-07 01:37 by 偽子
            C/C++編譯器? UE能算編譯器嗎?

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-06-10 13:11 by 空明流轉(zhuǎn)
            slickedit也不錯(cuò)。不過如果單論還是VS比較貼心。

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2006-11-17 17:39 by 李錦俊
            還是比較喜歡VS。。沒有代碼提示,沒有跟蹤,會(huì)很麻煩的,就好像當(dāng)年用EditPlus寫ASP一樣!我更喜歡EditPlus!歡迎到我的blog做客哦!http://m.shnenglu.com/mybios/

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2008-11-22 11:48 by 123
            mingw怎么安裝的?用別的c編譯器行么?gcc又是什么?徹底暈了...

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2009-04-29 17:17 by 創(chuàng)意家居
            不錯(cuò)哦

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2010-06-12 01:41 by GracieVelasquez28
            You are manifestly, a real master of dissertation international just about this topic accomplishing but if you are willing to opt for the <a href="http://www.topthesis.com">dissertation writing</a>, I will ofer you to notice a perfect one.

            # re: 打造UltralEdit-32為C/C++編譯器[未登錄]  回復(fù)  更多評(píng)論   

            2011-10-16 11:09 by 123
            贊,可以用來寫簡單的測(cè)試程序!

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2011-12-12 12:51 by article submission services
            Articles should be submitted to top rated article directories. The better Google page rank is, the simpler is to rank your Seo articles in search engines. Our article submission service will aid your website having better rates!

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2013-12-11 13:34 by Best writing services company
            At present, a lot of learners are seeking for fine quality custom research papers. PrimeWritings rewiew (best-writing-services.com) will offer an opportunity for graduates to find the most dependable custom essay writing service from which they are able to purchase first-rate dissertations created from the very beginning.

            # re: 打造UltralEdit-32為C/C++編譯器  回復(fù)  更多評(píng)論   

            2013-12-11 14:03 by Web page
            Whenever you do not know where to buy CV, visit Resumesexpert company, check out our CV templates and get qualified and professional resume writing service from the certified resume writers who know how to write a successful resume. It is of great worth buying resume with us!

            只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            久久香综合精品久久伊人| AAA级久久久精品无码片| 久久久久国色AV免费观看| 久久青青草原精品国产不卡| 99久久这里只精品国产免费| 日韩精品久久无码中文字幕| 国产麻豆精品久久一二三| 久久久久18| www.久久热.com| 一本一道久久a久久精品综合| 色偷偷久久一区二区三区| 中文字幕亚洲综合久久| 97香蕉久久夜色精品国产 | 色婷婷综合久久久久中文| 国产精品一区二区久久精品无码 | 久久久久亚洲av毛片大| 婷婷久久香蕉五月综合加勒比| 国产成人精品久久| 久久精品国产一区二区三区日韩| 欧洲性大片xxxxx久久久| 四虎国产精品免费久久久| 久久精品国产日本波多野结衣| 一级做a爱片久久毛片| 久久香综合精品久久伊人| 久久亚洲熟女cc98cm| 亚洲人成电影网站久久| 青青草原综合久久大伊人导航| 久久中文娱乐网| 久久99毛片免费观看不卡| 精品久久久久中文字幕日本| 国产成人无码精品久久久性色| 亚洲欧洲精品成人久久曰影片| 久久久久久国产精品美女 | 亚洲午夜无码久久久久小说| 久久久精品人妻无码专区不卡 | 久久国产精品久久久| 国产麻豆精品久久一二三| 久久久国产乱子伦精品作者| 久久99国产综合精品| 国产精品毛片久久久久久久| 青青草原综合久久大伊人精品|