GUIDE
GUIDE (GAIT Universal IDE) is a lightweight integrated development environment developed by the Beihang GAIT research group, specifically designed for NOI contestants, supporting three programming languages: C, C++, and Pascal.
Note
Starting from September 1, 2021, NOI Linux 2.0 no longer includes GUIDE.1
Installation
Windows
Refer to https://www.noi.cn/xw/2009-03-23/714714.shtml.
Linux
Refer to https://www.noi.cn/xw/2009-03-23/714714.shtml or follow the steps below for installation.
Required Dynamic Library Files and Package Names
| Dynamic Library | Arch Package Name | Debian Package Name | Fedora Package Name | openSUSE x86 Package Name | openSUSE x86_64 Package Name |
|---|---|---|---|---|---|
| libpng12.so.0 | lib32-libpng12 | libpng12 | libpng12 | libpng12-0 | libpng12-0-32bit |
| libSM.so.6 | lib32-libsm | libsm6 | libSM | libSM6 | libSM6-32bit |
| libICE.so.6 | lib32-libice | libice6 | libICE | libICE6 | libICE6-32bit |
| libXi.so.6 | lib32-libxi | libxi6 | libXi | libXi6 | libXi6-32bit |
| libXrender.so.1 | lib32-libxrender | libxrender1 | libXrender | libXrender1 | libXrender1-32bit |
| libXrandr.so.2 | lib32-libxrandr | libxrandr | libXrandr | libXrandr2 | libXrandr2-32bit |
| libfreetype.so.6 | lib32-freetype2 | libfreetype6 | freetype | libfreetype6 | libfreetype6-32bit |
| libfontconfig.so.1 | lib32-fontconfig | libfontconfig1 | fontconfig | libfontconfig1 | libfontconfig1-32bit |
| libXext.so.6 | lib32-libxext | libxext6 | libXext | libXext6 | libXext6-32bit |
| libX11.so.6 | lib32-libx11 | libx11-6 | libX11 | libX11-6 | libX11-6-32bit |
| libz.so.1 | lib32-zlib | zlib1g | zlib | libz1 | libz1-32bit |
| libgthread-2.0.so.0 | lib32-glib2 | libglib2.0-0 | glib2 | libgthread-2_0-0 | libgthread-2_0-0-32bit |
| libglib-2.0.so.0 | lib32-glib2 | libglib2.0-0 | glib2 | libglib2_0-0 | libglib2_0-0-32bit |
| libstdc++.so.6 | lib32-gcc-libs | libstdc++6 | libstdc++ | libstdc++6 | libstdc++6-32bit |
| libgcc_s.so.1 | lib32-gcc-libs | lib32gcc1 | libgcc | libgcc_s1 | libgcc_s1 |
| librt.so.1 | lib32-glibc | libc6 | glibc | glibc | glibc-32bit |
| libpthread.so.0 | lib32-glibc | libc6 | glibc | glibc | glibc-32bit |
| libdl.so.2 | lib32-glibc | libc6 | glibc | glibc | glibc-32bit |
| libm.so.6 | lib32-glibc | libc6 | glibc | glibc | glibc-32bit |
| libc.so.6 | lib32-glibc | libc6 | glibc | glibc | glibc-32bit |
Installation on Debian or Ubuntu
1 2 3 4 5 6 7 | |
Installation on openSUSE
Install opi according to the instructions provided by openSUSE/opi.
Then: (32-bit users should remove -32bit themselves)
1 2 3 4 5 6 7 | |
Editing Files
Click the "New File" button on the toolbar at the top of the page (or use the Ctrl+N shortcut) to create a new file.
By default, GUIDE's code font is not monospaced, which looks very unappealing. Therefore, you need to change the font in the settings.
In Edit -> Options -> Syntax Highlighting Settings, click the "All Fonts" button to switch the editor font.
Note that for unsaved new files, the font remains the default. Therefore, it is recommended to save the file first (click the "Save" button on the toolbar or press Ctrl+S) before starting to edit.
Compiling and Running
After editing the source code, click the "Compile" button on the toolbar (or press the F7 shortcut) to compile.
Changing Compilation Options
GUIDE does not have a feature to set default compilation options. Users can only change the compilation options for a specific file.
Right-click the tab of the file for which you want to change the compilation options, select the Set Compilation Command option, and then you can change the compilation options for that file.
If the source code compiles successfully, click the "Run" button on the toolbar (or press Ctrl+F5) to run the program.
Debugging
GUIDE's built-in debugging functionality has many bugs (such as program crashes midway), so it is not recommended to use GUIDE's debugging features directly.
It is recommended to use gdb directly in the terminal for debugging.
本页面最近更新:,更新历史
发现错误?想一起完善? 在 GitHub 上编辑此页!
本页面贡献者:OI-wiki
本页面的全部内容在 CC BY-SA 4.0 和 SATA 协议之条款下提供,附加条款亦可能应用