码迷,mamicode.com
首页 >  
搜索关键字:假定为 int    ( 143059个结果
如何在CLI命令行下运行PHP脚本,同时向PHP脚本传递参数?
1){print_r($argv);}?>另存为 ./test.php[root@xiuran test]#php ./test.php xxx fdf3Array( [0] =>test.php [1] => xxx [2] => fdf)
分类:Web程序   时间:2014-05-01 06:12:29    阅读次数:379
Java多线程编程基础之线程对象
在进入java平台的线程对象之前,基于基础篇(一)的一些问题,我先插入两个基本概念。 [线程的并发与并行] 在单CPU系统中,系统调度在某一时刻只能让一个线程运行,虽然这种调试机制有多种形式(大多数是时间片轮巡为主),但无论如何,要通过不断切换需要运行的线程让其运行的方式就叫并发(concurr.....
分类:编程语言   时间:2014-05-01 06:09:22    阅读次数:459
ctime 时间
1. 类型clock_t: 是个long型,用来记录一段时间内的时钟计时单元数,即CPU的运行单元时间。size_t: 标准C库中定义的,应为unsigned int,在64位系统中为long unsigned int。time_t: 从1970年1月1日0时0分0秒到该时间点所经过的秒数。stru...
分类:其他好文   时间:2014-05-01 06:03:10    阅读次数:289
android重要的对象
Context----------------访问全局信息的apiActivityWindowIntent/BundleImageView----------onclickView-----自定义view
分类:移动开发   时间:2014-05-01 05:59:06    阅读次数:381
PHP中实现在数据库中的增、删、查、改
其实要想在PHP中访问并获取到数据库中的数据其实并不难,下面我以例子为大家介绍:首先,打开PHP软件和WampServer服务,确保在WampServer中的phpMyAdmin中有你要使用的数据表,在PHP中新建一个页面,然后用上回说到的方法连接到数据库,如果你需要查看你当前的数据表中的数据,那么...
分类:数据库   时间:2014-05-01 05:58:00    阅读次数:340
DirectDraw 直接显示RGB图象的最简单实现
来自:#include "DDraw.h"class CDDraw{public:void CleanUp();void DrawDIB(BITMAPINFOHEADER* pBI,char* pData,RECT*rt);BOOL Init(HWND hWnd,int nWidth,int nHe...
分类:其他好文   时间:2014-05-01 05:25:10    阅读次数:407
遍历文件
void listFiles(){ namespace fs = boost::filesystem; boost::filesystem::path path=boost::filesystem::current_path(); fs::directory_iterator item_beg...
分类:其他好文   时间:2014-05-01 05:23:07    阅读次数:310
TransparentBlt、StretchBlt与BitBlt三个函数的区别
jackyhwei 发布于 2011-10-13 10:55点击:1080次来自:blog.csdn.net/weiquboBOOL StretchBlt( int x, //指定目的矩形区域左上角的X坐标 int y, //指定目的矩形区域左上角的Y坐标 int nWidth, //指定目的矩形区...
分类:其他好文   时间:2014-05-01 05:17:03    阅读次数:314
c++ ACM常用函数
1 保留小数点后两位#include cout const char * spilt="/";char *p;p=strtok(str,spilt);while(p!=NULL){ //cout #includesort(Rs.begin(),Rs.end());sort(Rs.begin(),Rs...
分类:编程语言   时间:2014-05-01 05:05:45    阅读次数:409
vtk 基础概念
#include#include#include#include#include#include#include#includeintmain(){vtkSmartPointercylinder=vtkSmartPointer::New();cylinder->SetHeight(3.0);cyli...
分类:其他好文   时间:2014-05-01 04:58:32    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!