⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a2i.c

📁 cygwin下的包含各种c基本操作的demo程序
💻 C
字号:
// a2i#include "my_common.h"#ifdef __cplusplusextern "C"  {#endif//#define _a2i_debugint a2i(char *str){    int ii=0;        while ( (*str) != '\0' )    {         	    #ifdef _a2i_debug    	    printf("%c ",*str);    	    #endif         	ii =(*str - 48) + ii*10;//good         	str++;         	    }		   	  #ifdef _a2i_debug    printf("\n");    #endif	    	     		  return ii;}void fun_p(char *str){     printf("I am the real fuc_p, your %s \n",str);}void test_ll(void){    link_list *a = (link_list*)malloc(sizeof(link_list));	    a->data = 11;    a->next = NULL;		  printf("the size of link_list is %d \n",sizeof(link_list));	  printf("the value of a->data is %d \n",a->data);	  return ;}#ifdef __cplusplus            }#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -