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

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

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

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://parentscn.com/?id=216

标签: C语言Arduino

相关文章

 Arduino Project 037 - 18B20 Temperature Sensor

Arduino Project 037 - 18B20 Temperature Sensor

The DS18B20 Temperature Sensor is a digital temperature sensor capable of measuring temperatures wit...

Arduino Project 031 - Digital Pressure Sensor

Arduino Project 031 - Digital Pressure Sensor

Arduino Programming Basic -- Pressure SensorsProject 31 – Digital Pressure Sensor// Ardunio&nbs...

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 041 - Ultrasonic Distance OLED 128X64 Display

Arduino Project 041 - Ultrasonic Distance OLED 128X64 Display

About the Ultrasonic sensor knowledge and infor mation click the link : Arduino Project 038 - S...

Arduino Project 035 - Keypad 4X4 or 4X3

Arduino Project 035 - Keypad 4X4 or 4X3

Most of the time we are used key, button, or switch to get input value in our projects. When we inte...

Arduino Project 028B - Basic Stepper Control (Unipolar)

Arduino Project 028B - Basic Stepper Control (Unipolar)

In this very simple project, you will connect up a stepper motor and then get the Arduino to control...

发表评论

访客

看不清,换一张

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