- 博客(9)
- 资源 (2)
- 收藏
- 关注
原创 数组类型
#include "stdio.h" #include "stdlib.h" #include "string.h" void main22() { //数组的初始化 // int i=0; int a[10]={1,2};//a 代表数组首元素的地址,不是数组的地址 //&a 表示整个数组的地址 &a a代表的数组类型不一样 //&a 代表数组类型 //a 数组首元素类型
2015-01-27 00:00:52 545
原创 android imageLoader+AutoScrollViewPager+indicator+屏幕适配
package com.example.demo; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.os.Bundle; import android.support.v4.view.ViewPa
2015-01-26 17:26:22 1001
原创 day2 内存模型 二级指针
#include #include #include //二级指针第一种内存模型 void main01() { char * ArrayStr[]={"cc","aa","bb","111"}; char *tmp=NULL; int i=0; int j=0; for(i=0;i<4;i++) { printf("%s \n",ArrayStr[i]); } for(
2015-01-22 23:49:20 384
原创 c++ 接口api socket
#include "stdio.h" #include "stdlib.h" #include "string.h" #include "cltsockekt.h" //打桩 //1,客户端初始化环境 int cltSocket(void **handle) { return 0; } // 2,客户端发报文 int cltSocket_senddata(void *handle,unsi
2015-01-13 21:31:10 454
原创 字符串 指针二维数组
#include #include #define _CRT_SECURE_NO_WARNINGS #include void main1() { char str[50]; char str1[20]; char str2[20]; gets(str1);//获取字符串初始化 scanf("%s",str2);//获取字符串初始化 printf("%s,
2015-01-11 18:44:51 599
原创 高级指针的运算
字符串 #include #include void main8() { char* str="tasklist"; //将字符串常量tasklist 的地址,传给str printf("\n%d,%d",sizeof(str),sizeof("tasklist"));//\0 9个字节 system(str);//system 根据字符串地址,或者字符串 ge
2015-01-08 23:08:54 387
原创 动态内存
//堆区 //程序员来管理的堆 //内存自己分配 //很大,自由分配 //最大可以到内存的80% 以上 //栈区 //一块是系统内存分配自动管理的就是栈 //栈区很小 //数组在栈区。 int a[1024*1024*1024] ;//栈溢出 stack overflow system("pause"); #include #include
2015-01-06 21:06:32 415
原创 高级指针
函数的外挂 靶子程序 #include #include #include void msg() { MessageBoxA(0,"open","hello world",0); } int add(int a,int b) { system("tasklist"); return a+b; } void main() { int numA=100; int numB=200
2015-01-05 00:02:34 336
原创 指针
基本操作 #define _CRT_SECURE_NO_WARNINGS #include #include #include int add(int a,int b) { return a+b; } void main() { int num=100; int *p=#//p 是一个指针变量,存储的是num地址 int (*pp)(int a,int b);//定义函
2015-01-01 18:48:29 323
SurfaceFlinger 视频教程 显示系统,内部机制,Vsync机制,HDMI系统
2021-01-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人