如何在Linux Mint 17.1(KDE)中安装代码块

Red*_*pto 4 c c++ linux codeblocks

我已经使用以下命令行在Linux Mint 17.1(KDE)中安装了代码块

sudo apt-get安装代码块

,但是当我尝试在代码块上编译并运行ac程序时,它显示了此错误

/ home / redwan / Programmin / C程序/hello.c | 1 |严重错误:stdio.h:无此类文件或目录| || ===构建失败:1个错误,0个警告(0分钟,0秒)=== |

请有人帮助我使用代码块在linux mint 17.1(KDE)中正确运行c以及c ++程序。

对不起,我的英语不好。

Fra*_*ank 5

将其保存到主目录中名为“ install.sh”的文件中(不带引号),打开终端(Ctrl + Alt + t)并运行命令“ bash install.sh”(同样不带引号)。

#!/bin/bash

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install build-essential -y
sudo apt-get install codeblocks -y
sudo apt-get install codeblocks-contrib -y
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get autoremove -y
sudo apt-get autoclean -y

exit 0;
Run Code Online (Sandbox Code Playgroud)