当前位置:首页 > 科学研究 > 电子编程 > 正文内容

C语言调试运行环境Pelles C的安装

RonWang2年前 (2022-12-17)电子编程1418

C语言调试运行环境之TurboC一文介绍了在32位Windows系统下安装C语言运行环境之TubroC,但是由于TurobC只能在32位系统下运行,导致现在很多Windows10和Windows 11 64bit系统的用户无法使用它。本人使用的系统为Windows11,安装VC较为麻烦,所以本文将介绍一个在64位系统下运行和调试C语言的编译器Pelles C的安装和调试。

Pelles C 项目网站

Pellsc C 网址:http://www.smorgasbordet.com/pellesc/index.htm

点击左侧Download,进入上图所示界面,下载第一或第二个文件。 下面为语言包,下载后解压放入\Bin\Intl。但本人使用后乱码,便没有汉化。 安装步骤不多赘述。

Pelles C

编写并运行第一个程序

依次选择File->New->Project,之后选择win32(或64)console program。 再依次选择File->New->Source Code,输入代码并保存,软件会提示是否添加到工程,选择“是”。  

#include  <stdio.h>
int main(void)
 { 
    printf("Hello World !"
    return 0;
}

之后再Project菜单中,选择“build” ,在选择“execute”,即可运行程序。 

Pelles C

版权声明:本文为原创文章,版权归donstudio所有,欢迎分享本文,转载请保留出处!

本文链接:http://www.donstudio.cn/?id=216

标签: C语言Arduino

相关文章

Arduino Project 023C - Liquid Crystal Displays - Serial to Display

Arduino Project 023C - Liquid Crystal Displays - Serial to Display

Before wiring the LCD screen to your Arduino board we suggest to solder a pin header strip to the 14...

Arduino Programming Basic - Data Type

Arduino Programming Basic - Data Type

Arduino 程序基础,介绍Arduino程序的基本组成,第一部分编写了10个例子,关于变量及变量名称,串口监视器,if循环,for循环,while循环等。第二部分介绍了函数,全局变量,局部变量和静...

Arduino Project 008 - RGB LED Mood Lamp

Arduino Project 008 - RGB LED Mood Lamp

In the last project, you learned how to adjust the brightness of an LED using the PWM capabilities o...

Arduino Programming Basic - Variables

Arduino Programming Basic - Variables

Arduino 程序基础,介绍Arduino程序的基本组成,第一部分编写了10个例子,关于变量及变量名称,串口监视器,if循环,for循环,while循环等。第二部分介绍了函数,全局变量,局部变量和静...

Arduino Project 023B - Liquid Crystal Displays -Blink and Cursor

Arduino Project 023B - Liquid Crystal Displays -Blink and Cursor

Before wiring the LCD screen to your Arduino board we suggest to solder a pin header strip to the 14...

Arduino Programming Basic - Bollean

Arduino Programming Basic - Bollean

Arduino 程序基础,介绍Arduino程序的基本组成,第一部分编写了10个例子,关于变量及变量名称,串口监视器,if循环,for循环,while循环等。第二部分介绍了函数,全局变量,局部变量和静...

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。