摘要: MainActivity:package com.itheima.helloworld1;import android.os.Bundle;import android.app.Activity;import android.view.View;import android.widget.Toast... 阅读全文
posted @ 2015-11-22 21:28 无天666 阅读(654) 评论(0) 推荐(0)
摘要: ##交叉编译(编译就是编译成汇编指令,使得电脑能够识别,比如windows平台模拟linux平台编译出来得程序可以在linux上运行。)* 在一个平台下,编译出另一个平台能够执行的二进制的代码* 平台:windows,mac os,linux* 处理器:x86,arm,mips##交叉编译的原理* ... 阅读全文
posted @ 2015-11-22 14:40 无天666 阅读(163) 评论(0) 推荐(0)
摘要: #include #include void study(){ printf("吃饭睡觉打李志\n");}//定义一个结构体 ,C语言没有对象, struct student{ int age; int height; char sex;//char是1个... 阅读全文
posted @ 2015-11-22 10:18 无天666 阅读(563) 评论(0) 推荐(0)
摘要: #include #include #include //包含头文件 main(){ int i = 3;//栈中 int arr[10];//栈中 int* p = malloc(sizeof(int) * 10);//p在栈中,malloc在堆里面长度... 阅读全文
posted @ 2015-11-22 09:43 无天666 阅读(253) 评论(0) 推荐(0)