首先,下載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位。 |
內容轉換: |