|   | 
        點擊 | 
        回復 | 
        標題 | 
        作者 | 
        最後回復 | 
      
            
        |   | 
        699 | 
        0 | 
        
                    
           以XP系统下的Notepad++ v7.9.2 (32-bit)版本为例。 去NppGTags官网(https://github.com/pnedev/nppgtags/re...            | 
        巨大八爪鱼 | 
        5-15  巨大八爪鱼 | 
      
            
        |   | 
        601 | 
        1 | 
        
                    
                     | 
        艰难快乐学习运动 | 
        3-23  啊啊是谁都对 | 
      
            
        |   | 
        965 | 
        4 | 
        
                    
           #include <stdio.h> #include <Windows.h> int main(void) {...            | 
        巨大八爪鱼 | 
        8-5  巨大八爪鱼 | 
      
            
        |   | 
        840 | 
        0 | 
        
                    
           【字符数组:char arr[] = "abcd"】 性质: 1.数组名arr本身是一个指针变量,但是不能移动该指针 2.字符数组中的内容可读可写 3.以\0结束 4.可...            | 
        巨大八爪鱼 | 
        6-20  巨大八爪鱼 | 
      
            
        |   | 
        876 | 
        3 | 
        
                    
           #include <conio.h> #include <stdio.h> void main() {     char...            | 
        巨大八爪鱼 | 
        6-19  巨大八爪鱼 | 
      
            
        |   | 
        1262 | 
        3 | 
        
                    
           【方法一:一次性创建全部数组空间】 #include <stdio.h> #include <stdlib.h> int main() {...            | 
        巨大八爪鱼 | 
        6-13  巨大八爪鱼 | 
      
            
        |   | 
        911 | 
        3 | 
        
                    
           【示例程序】 #include <stdio.h> void test(char *str) {     int d, n, r;...            | 
        巨大八爪鱼 | 
        6-13  巨大八爪鱼 | 
      
            
        |   | 
        1086 | 
        4 | 
        
                    
           log2(1)=0.000000 log2(2)=1.000000 log2(3)=1.584963 log2(4)=2.000000 log2(5)=2.321928...            | 
        巨大八爪鱼 | 
        5-23  巨大八爪鱼 | 
      
            
        |   | 
        869 | 
        1 | 
        
                    
           #include <stdio.h> #include <string.h> #include <time.h> void display(str...            | 
        巨大八爪鱼 | 
        5-21  巨大八爪鱼 | 
      
            
        |   | 
        893 | 
        1 | 
        
                    
           【代码】 #include <stdio.h> #include <string.h> // memset函数所在头文件  #include <time...            | 
        巨大八爪鱼 | 
        5-21  巨大八爪鱼 | 
      
            
        |   | 
        1273 | 
        7 | 
        
                    
           【源文件main.c】 #include <stdio.h> #include <stdlib.h> // system函数所在地 #include <...            | 
        巨大八爪鱼 | 
        5-10  巨大八爪鱼 | 
      
            
        |   | 
        1003 | 
        1 | 
        
                    
           【函数定义】 int abc(char *s) {     puts(s);     return 0; }...            | 
        巨大八爪鱼 | 
        5-7  巨大八爪鱼 | 
      
            
        |   | 
        991 | 
        5 | 
        
                    
           #include <stdio.h> #include <stdlib.h> #include <string.h> void swap(int...            | 
        巨大八爪鱼 | 
        3-18  巨大八爪鱼 | 
      
            
        |   | 
        1722 | 
        17 | 
        
                    
           首先,编写一个简单的C程序: #include <stdio.h> void fun(int *num, int *num2); int main() {...            | 
        巨大八爪鱼 | 
        2-26  巨大八爪鱼 | 
      
            
        |   | 
        1176 | 
        3 | 
        
                    
           Makefile: # 连接 test: test.o     gcc test.o -o test -lxml2 # 编译 test.o:...            | 
        巨大八爪鱼 | 
        2-20  巨大八爪鱼 | 
      
            
        |   | 
        5540 | 
        9 | 
        
                    
           【C程序文件:client.c】 #include <netinet/in.h> #include <stdio.h> #include <stdlib...            | 
        巨大八爪鱼 | 
        2-17  巨大八爪鱼 | 
      
            
        |   | 
        845 | 
        0 | 
        
                    
           #include <stdio.h> #define COMPARE < int main() {     int nums[]...            | 
        巨大八爪鱼 | 
        1-9  巨大八爪鱼 | 
      
            
        |   | 
        897 | 
        3 | 
        
                    
                     | 
        巨大八爪鱼 | 
        1-9  巨大八爪鱼 | 
      
            
        |   | 
        976 | 
        5 | 
        
                    
           #include <stdio.h> #include <stdlib.h> #include <string.h> char *str_crea...            | 
        巨大八爪鱼 | 
        12-19  巨大八爪鱼 | 
      
            
        |   | 
        2070 | 
        21 | 
        
                    
          运行结果:              | 
        巨大八爪鱼 | 
        12-19  巨大八爪鱼 | 
      
            
        |   | 
        849 | 
        2 | 
        
                    
           以前虽然会写C语言程序,但是很多关键函数没有记住,用的时候需要频繁地去网上查函数用法。            | 
        巨大八爪鱼 | 
        12-12  巨大八爪鱼 | 
      
            
        |   | 
        1157 | 
        4 | 
        
                    
           #include <ctype.h> #include <stdio.h> #include <string.h> char *device_li...            | 
        巨大八爪鱼 | 
        12-12  巨大八爪鱼 | 
      
            
        |   | 
        862 | 
        2 | 
        
                    
           根本就用不着再去找专门的二进制文件编辑器。            | 
        202.115.90.* | 
        12-11  巨大八爪鱼 | 
      
            
        |   | 
        2550 | 
        23 | 
        
                    
           #include <stdio.h> //#include <stdlib.h> /*int *fun() {     /...            | 
        180.84.33.* | 
        12-11  202.115.90.* | 
      
            
        |   | 
        864 | 
        7 | 
        
                    
           #include <conio.h> #include <stdio.h> void main() {     char...            | 
        巨大八爪鱼 | 
        12-11  202.115.90.* | 
      
            
        |   | 
        1024 | 
        2 | 
        
                    
           我希望能在毕业的时候拿到南京 的BAT公司任意一家offer            | 
        fengtianru117 | 
        11-27  巨大八爪鱼 | 
      
            
        |   | 
        1457 | 
        10 | 
        
                    
           题目标题: 高斯日记     大数学家高斯有个好习惯:无论如何都要记日记。     他的日记有个与众不同的地方,他从不注...            | 
        巨大八爪鱼 | 
        11-26  巨大八爪鱼 | 
      
            
        |   | 
        1038 | 
        7 | 
        
                    
           #include <stdio.h> #include <stdlib.h> char **explode(char delimiter, char *pStr)...            | 
        巨大八爪鱼 | 
        11-21  巨大八爪鱼 | 
      
            
        |   | 
        1008 | 
        1 | 
        
                    
           注:部分函数依赖于 https://zh.arslanbar.net/post.php?t=23426 中定义的一些函数 char *join(char delimiter, cha...            | 
        巨大八爪鱼 | 
        11-21  巨大八爪鱼 | 
      
            
        |   | 
        971 | 
        3 | 
        
                    
           #include <stdio.h> #include <string.h> int main(void) {     i...            | 
        巨大八爪鱼 | 
        11-19  巨大八爪鱼 | 
      
            
        |   | 
        1160 | 
        5 | 
        
                    
           首先,下載Dev-C++這個IDE,它裡面自帶了gcc和g++編譯器。 下載鏈接: http://sourceforge.net/projects/orwelldevcpp/ (De...            | 
        巨大八爪鱼 | 
        11-13  巨大八爪鱼 | 
      
            
        |   | 
        863 | 
        2 | 
        
                    
           // ColorRGB.cpp : Defines the entry point for the console application. // #include "stdafx.h"...            | 
        巨大八爪鱼 | 
        11-10  巨大八爪鱼 | 
      
            
        |   | 
        804 | 
        2 | 
        
                    
           #include <stdio.h> #include <conio.h> unsigned int len(char *str) {...            | 
        巨大八爪鱼 | 
        11-2  巨大八爪鱼 | 
      
            
        |   | 
        752 | 
        0 | 
        
                    
           一个女生:我感觉C语言比高等数学都还难
 一个男生:我感觉我C语言就是要挂了的节奏            | 
        巨大八爪鱼 | 
        11-2  巨大八爪鱼 | 
      
            
        |   | 
        895 | 
        1 | 
        
                    
           我认为,这是因为受了应试教育的影响,所以学C语言只知道听老师讲,然后做题,又听讲又做题。结果听讲的时候完全是在听天书,于是下来题也不会做了,恶心循环。他们就不知道在自己的电脑上不断地自己写、改、运行C...            | 
        巨大八爪鱼 | 
        10-21  巨大八爪鱼 | 
      
            
        |   | 
        960 | 
        3 | 
        
                    
           虽然 (1) int* a; (2) int *a; 都能编译通过,不过我想这是编译器的纠错优化,给许多编码潦草的人一个很大的容错度。...            | 
        巨大八爪鱼 | 
        10-21  巨大八爪鱼 | 
      
            
        |   | 
        938 | 
        5 | 
        
                    
           #include <stdio.h> #include <string.h> int main() {     char...            | 
        巨大八爪鱼 | 
        8-13  巨大八爪鱼 | 
      
            
        |   | 
        1072 | 
        2 | 
        
                    
           項目地址:https://github.com/zlk1214/PowerLog 協議:GPL            | 
        巨大八爪鱼 | 
        7-15  巨大八爪鱼 | 
      
            
        |   | 
        953 | 
        3 | 
        
                    
           #include <fcntl.h> #include <linux/cdrom.h> #include <stdio.h> #include...            | 
        巨大八爪鱼 | 
        7-15  巨大八爪鱼 | 
      
            
        |   | 
        861 | 
        0 | 
        
                    
           应该: char* a="dMBN";     char* b="MBN";     if (strcmp(a,b)==0...            | 
        巨大八爪鱼 | 
        8-2  巨大八爪鱼 | 
      
            
        |   | 
        1090 | 
        2 | 
        
                    
           #include <stdio.h> int main() {     unsigned int R1;...            | 
        巨大八爪鱼 | 
        7-27  巨大八爪鱼 | 
      
            
        |   | 
        1187 | 
        0 | 
        
                    
           亲爱的用户:欢迎来到c语言吧,Purasbar欢迎您的到来~ 请先阅读我们的社区准则: http://zh.purasbar.com/documents/eula/ 以及版权...            | 
        社区管理员 | 
        7-27  社区管理员 |