搜索到与相关的文章
IOS

iOS Open Source : Popover API for iPhone

http://iphonedevelopertips.com/open-source/ios-open-source-popover-api-for-iphone-wepopover.htmlWEPopoverisanAPIthatmirrorsUIPopoverfortheiPad.Thisclassisintentionallydesignedtohavethesameinteraction,lookandfeelasthepopovereffecto

系统 2019-08-12 09:29:53 3472

编程技术

VBScript脚本运用(脚本程序与宿主程序的交互)

做过工控的人都知道,对脚本语言的支持是标准组态软件应具备的一个基本功能(如iFix,组态王等)。如果我们用VB开发类似的功能,能实现吗?想必大家都知道微软提供了MicrsoftScriptControl1.0控件,在VB版也见到了大家对这个控件的使用(如用ExecuteStatement方法执行脚本命令ExecuteStatement("msgbox“你好””)???)。但最重要的一点,ActiveX脚本与宿主应用程序数据交互与传递,却没有完整的解决方案。

系统 2019-08-29 22:54:43 3471

IOS

有关UIView、subview的几个基础知识点-IOS开发

环境是xcode4.3首先要弄懂几个基本的概念。一)三个结构体:CGPoint、CGSize、CGRect1.CGPoint/*Points.*/structCGPoint{CGFloatx;CGFloaty;};typedefstructCGPointCGPoint;看到这个想必你已经懂了,不再解释。2.CGSize/*Sizes.*/structCGSize{CGFloatwidth;CGFloatheight;};typedefstructCGSiz

系统 2019-08-29 22:25:56 3471

各行各业

POJ 2377 Bad Cowtractors

这是先前做的几道最小生成树的题目,基本都是裸题。题意:求最大生成树由于数据比较水,用prime和krusical都可以。我是用krusical做的#include#include#include#include#includeusingnamespacestd;intn,m,f[1010];structnode{intx,y,s;}e[20010];boolcmp(n

系统 2019-08-12 09:27:32 3471

Ubuntu

ubuntu下配置tomcat

1,安装Jdk2,在终端中使用命令:sudonautilus,进入root权限,将tomcat解压缩到/usr/local目录下4,在终端中使用命令:gedit~/.bashrc,在文件末尾加入下面几行:exportJAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/exportCLASSPATH=/usr/local/tomcat6/lib/jsp-api.jar:/usr/local/tomcat6/lib/servlet-ap

系统 2019-08-12 01:33:53 3471

数据库相关

在SQL中取出字符串中数字部分或在SQL中取出字符

近来在开发一个项目时,一包含数字的字符串,需要取出中间的数字部分进行排序.经过baidu搜索。并结合自己项目的需求,编写了一个自定义的SQL函数用供项目中使用。/******Object:UserDefinedFunction[dbo].[F_Get_No]ScriptDate:10/18/201322:03:13******/SETANSI_NULLSONGOSETQUOTED_IDENTIFIERONGOcreatefunction[dbo].[F_G

系统 2019-08-12 01:32:29 3471

Python

《剑指offer》 刷题记录(Python)

本博客同时发布于个人主页:www.doctorsrn.cn《剑指offer》刷题记录最近使用Python把《剑指offer》刷了一遍,自己能第一时间有想法的题目就直接写,没有思路的题目就看懂书上的思路和参考其他开源的实现后再自己写一遍。主要以牛客网《剑指offer》作为在线评测网站,有些题目牛客网没有的再找其他网站进行在线评测,主要使用的其他网站有:AcWingLintCode刷题过程主要参考的开源实现有:https://github.com/Lazy-P

系统 2019-09-27 17:57:52 3470

CSS

CSS 循序渐进(四)表里春秋

CSS循序渐进(四)表里春秋vararrBaiduCproConfig=newArray();arrBaiduCproConfig['uid']=2214;arrBaiduCproConfig['n']='sayyescpr';arrBaiduCproConfig['tm']=48;arrBaiduCproConfig['cm']=100;arrBaiduCproConfig['um']=50;arrBaiduCproConfig['rad']=1;arr

系统 2019-08-29 22:59:23 3470

Tomcat

The Apache Tomcat 5.5 Servlet/JSP Container

TheApacheTomcat5.5Servlet/JSPContainerClassLoaderHOW-TOprint-friendlyversionQuickStartThefollowingrulescoverabout95%ofthedecisionsthatapplicationdevelopersanddeployersmustmakeaboutwheretoplaceclassandresourcefilestomakethemavailab

系统 2019-08-29 22:20:11 3470