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

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

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

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

标签: C语言Arduino

相关文章

Arduino Project 009 - LED Fire Effect

Arduino Project 009 - LED Fire Effect

Project 9 will use LEDs and a flickering random light effect, via PWM again, to mimic the effect of...

Arduino Project 015 - Simple Motor Control

Arduino Project 015 - Simple Motor Control

First, you’re going to simply control the speed of a DC motor in one direction, using a power transi...

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

Arduino Programming Basic - Serial Monitor

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

Arduino Project 006 - LED Interactive Chase Effect

Arduino Project 006 - LED Interactive Chase Effect

Leave your circuit board intact from Project 5. You’re just going to add a potentiometer to this cir...

Arduino Project 001 - LED Blink

Arduino Project 001 - LED Blink

Arduino 电子编程--灯项目及控制,主要使用Arduino编程控制LED灯,实现基本控制Project 1 LED闪烁,基本的应用Project 3和4红绿灯项目项目1 Project...