首先,下载Dev-C++这个IDE,它里面自带了gcc和g++编译器。
下载链接:
http://sourceforge.net/projects/orwelldevcpp/
(De...
【方法】Windows下安装gcc编译器最简单的方法首先,下载Dev-C++这个IDE,它里面自带了gcc和g++编译器。
下载链接: http://sourceforge.net/projects/orwelldevcpp/ (De... |
【程序】自己写的RGB格式的颜色转换成十六进制表示的颜色的转换器// ColorRGB.cpp : Defines the entry point for the console application.
// #include "stdafx.h"... |
自己写的C语言字符串复制,链接,比较,以及计算长度的函数,可用于单片机程序#include <stdio.h>
#include <conio.h> unsigned int len(char *str) {... |
|
|
【转载】再谈定义指针变量时星号应该靠左还是靠右虽然
(1) int* a; (2) int *a; 都能编译通过,不过我想这是编译器的纠错优化,给许多编码潦草的人一个很大的容错度。... |
memset的用法#include <stdio.h>
#include <string.h> int main() { char... |
【发布源代码】Linux平台下开机时间和室内环境温度记录程序项目地址:https://github.com/zlk1214/PowerLog
协议:GPL |
[有趣的程序]Linux系统下弹出光驱的C程序(已在Fedora22下测试通过)#include <fcntl.h>
#include <linux/cdrom.h> #include <stdio.h> #include... |
c语言不能直接用双等号判断两个字符串是否相等应该:
char* a="dMBN"; char* b="MBN"; if (strcmp(a,b)==0... |
【程序】C语言计算NE555集成块频率和周期#include <stdio.h>
int main() { unsigned int R1;... |
您好,Purasbar 欢迎您的到来~亲爱的用户:欢迎来到c语言吧,Purasbar欢迎您的到来~
请先阅读我们的社区准则: http://zh.purasbar.com/documents/eula/ 以及版权... |
本吧共有主題數42個,帖子數219篇,會員數1位。 |
內容轉換: |