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

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

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

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 Programming Basic - Serial Monitor

Arduino Programming Basic - Serial Monitor

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

Arduino Project 020 -  LED Dot Matrix Display - Beat Heart

Arduino Project 020 - LED Dot Matrix Display - Beat Heart

You’re going to use the same circuit, but with a slight variation in the code to create a multi-fram...

Arduino Project 003 - LED Traffic Light

Arduino Project 003 - LED Traffic Light

You are now going to create a set of traffic lights that will change from green to red, via amber, a...

 Arduino Project 043 - SD CardTemperature Datalogger

Arduino Project 043 - SD CardTemperature Datalogger

Todady I made a simple Arduino datalogger using SD card and DHT11  relative humidity and t...

Books Exploring Arduino

Books Exploring Arduino

Exploring Arduino uses the popular Arduino microcontroller platform as an instrument to teach topics...

 ​Arduino Project 048 - Human Body Infrared Detector and Relay Light

​Arduino Project 048 - Human Body Infrared Detector and Relay Light

Project 48 Human Body Infrared Detector and Relay Light/*  * Coding by Ronwang&...