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