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

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

RonWang3年前 (2022-12-17)电子编程1622

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 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 010 - Serial Controlled Mood Lamp

Arduino Project 010 - Serial Controlled Mood Lamp

For Project 10, you will revisit the circuit from Project 8 — RGB Mood Lamp, but you’ll now delve in...

Arduino Project 030 - Line Following Robot

Arduino Project 030 - Line Following Robot

Project 30 Line Following RobotUse L298P Driver Line Following Robot Line o...

Arduino Project 029 - Control Stepper Motor ULN2004A

Arduino Project 029 - Control Stepper Motor ULN2004A

Stepper motors, due to their unique design, can be controlled to a high degree of accuracy without a...

 Arduino Project 038 - Simple Ultrasonic Range HC-SR04

Arduino Project 038 - Simple Ultrasonic Range HC-SR04

Ultrasonic range finders measure distance by emitting a pulse of ultrasonic sound that travels throu...

Arduino Project 036 - DTH Temperature and Humid Sensor

Arduino Project 036 - DTH Temperature and Humid Sensor

The DHT11 Temperature and Humidity Sensor senses, measures and regularly reports the relative humidi...