码迷,mamicode.com
首页 >  
搜索关键字:int start    ( 167540个结果
HDU1022 Train Problem I (栈)
栈+队列 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int main() 7 { 8 int n; 9 char a[11],b[11];10 stacks;11 queu...
分类:其他好文   时间:2014-04-28 09:18:36    阅读次数:537
Linux C中内联汇编的语法格式及使用方法(Inline Assembly in Linux C)
在阅读Linux内核源码或对代码做性能优化时,经常会有在C语言中嵌入一段汇编代码的需求,这种嵌入汇编在CS术语上叫做inline assembly。本文的笔记试图说明Inline Assembly的基本语法规则和用法(建议英文阅读能力较强的同学直接阅读本文参考资料中推荐的技术文章 ^_^)。注意:由...
分类:系统相关   时间:2014-04-28 09:10:46    阅读次数:1246
继承派生产生的切割问题
1 #include 2 #include 3 using namespace std; 4 class people 5 { 6 public: 7 string name; 8 int age; 9 virtual void print();10 };11 12...
分类:其他好文   时间:2014-04-28 09:04:54    阅读次数:690
指针 &取地址标志
char * a1; short * b1; int * c1; long * d1;只要带有*号,都占4个字节,不管*号多少个都是一样。要查看一个变量的所占的类型,就把变量名去掉,就是它所占的类型。如:int a[10] 把a 去掉,就成 int [10] char * a1 把a1去掉,就是 c...
分类:其他好文   时间:2014-04-27 21:13:23    阅读次数:551
HDOJ 1217 Floyed Template
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 mapname; 9 const int INF = 1000000;10 const int MAXSIZE = 1005...
分类:其他好文   时间:2014-04-27 21:03:01    阅读次数:552
字符串的KMP算法替换
1 #include 2 #include 3 using namespace std; 4 5 6 7 class myString 8 { 9 private: 10 string mainstr; 11 int size; ...
分类:其他好文   时间:2014-04-27 20:45:57    阅读次数:591
U-Boot移植之前期分析(下)
接U-Boot移植之前期分析(上):         2. 顶层目录下mkconfig的分析过程         在上面的分析中知道了语句:“@$(MKCONFIG) $(@:_config=) arm arm920t MY_JZ2440 sumsung s3c24x0”对应于执行顶层目录下的mkconfig文件并传递了六个参数 ($0-$6):100ask24x0 arm arm920t...
分类:其他好文   时间:2014-04-27 20:29:05    阅读次数:669
U-Boot移植之前期分析(上)
老是看别人移植uboot,用别人移植好的uboot,...
分类:其他好文   时间:2014-04-27 18:56:14    阅读次数:738
Ubuntu部分命令的使用简介
1、lsusb #查看系统中的usb设备lsusb –v #查看详细的usb设备信息2、ubuntu mount u盘 第一步:查看U盘信息sudo fdisk -l 得到类似下面这样的信息Disk /dev/sdb: 8027 MB, 8027897856 byt...
分类:其他好文   时间:2014-04-27 17:36:21    阅读次数:478
iOS学习笔记(2)UIWebViewDelegate委托协议定义的方法
webView:shouldStartLoadWithRequest:navigationType:。该方法在WebView开始加载新的界面之前调用,可以用来捕获WebView中的JavaScript事件。webViewDidStartLoad:。该方法在WebView开始加载新的界面之后调用。we...
分类:移动开发   时间:2014-04-27 16:44:30    阅读次数:812
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!