• <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>

            任我行

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

            打造UltralEdit-32為C/C++編譯器

            Posted on 2006-04-20 14:24 任我行 閱讀(8474) 評論(16)  編輯 收藏 引用

            這文章適合新手,對老鳥就不要太強求了。

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

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

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

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

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

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

            到這時,大功告成了。

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

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

            Feedback

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            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ù)  更多評論   

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

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

            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ù)  更多評論   

            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ù)  更多評論   

            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!

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


            久久精品国产亚洲精品| 中文字幕人妻色偷偷久久| 97久久久精品综合88久久| 天堂久久天堂AV色综合| 99久久国语露脸精品国产| 久久精品这里只有精99品| 一本大道久久东京热无码AV| 少妇人妻88久久中文字幕| 久久精品视频网| 97精品国产97久久久久久免费| 国产精品久久亚洲不卡动漫| 久久精品国产精品国产精品污| 国产精品成人久久久| 久久九九久精品国产免费直播| 一本色道久久88精品综合| 狠狠干狠狠久久| 久久人爽人人爽人人片AV| 久久中文字幕视频、最近更新| 久久99精品久久久大学生| 久久九九有精品国产23百花影院| 久久99精品久久久久久水蜜桃 | 伊人久久大香线蕉成人| 久久婷婷五月综合97色直播| 亚洲狠狠久久综合一区77777| 欧洲精品久久久av无码电影| 久久99精品久久久久久齐齐| 久久精品99久久香蕉国产色戒| 亚洲国产精品成人久久蜜臀| 国产亚洲色婷婷久久99精品| 久久久久av无码免费网| 亚洲国产高清精品线久久| 久久精品国产色蜜蜜麻豆 | 亚洲国产成人精品久久久国产成人一区二区三区综 | 午夜精品久久久久久毛片| 青春久久| 精品欧美一区二区三区久久久| 99久久99久久| 亚洲色大成网站www久久九| 狠狠精品久久久无码中文字幕 | 久久笫一福利免费导航| 久久国产成人|