using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace ConsoleProgamming{ class Program {
static void Main(string...
分类:
其他好文 时间:
2014-05-26 08:00:40
阅读次数:
184
一定要注意php代码质量php代码规范。。后续跟进中。。学习php项目。。http://monitor.blog.163.com/blog/static/175820268201262855042641/PHP编码规范提高php代码质量
36计http://www.oschina.net/quest...
分类:
Web程序 时间:
2014-05-26 07:09:05
阅读次数:
274
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace ConsoleProgamming{ class Program {
static void Main(string...
分类:
其他好文 时间:
2014-05-26 07:00:58
阅读次数:
182
##################dll.h###################pragma
oncetypedef void (*CALLBACK)(int );typedef struct handleCB{ CALLBACK
t_fun;}stCallBack;static stCallB...
分类:
其他好文 时间:
2014-05-26 06:22:27
阅读次数:
275
有部分手机的影像是倒立的,如何解决这个问题呢? 请看下面
public static void setCameraDisplayOrientation(Activity activity,
int cameraId, android.hardware.Camera camera) {
android.hardware.Camera.CameraInfo info...
分类:
移动开发 时间:
2014-05-26 06:15:07
阅读次数:
401
简单工厂模式(Simple Factory Pattern)属于创建型模式,又叫做静态工厂方法模式(Static FactoryMethod Pattern),但是不属于23GOF设计模式之一。简单工厂模式是由一个工厂对象决定创建出哪一种产品类的实例。
走别人的的路,不如自己 to do (不如的意思是更)。先敲书上的例子,第一遍也许不懂,第二遍就清晰很多,第三遍就觉得自己能写点东西出来。不要总是觉得自己看不懂,学不好,只有先学了才能更好。没有之前的8个馒头,就没有第9个馒头的饱(好撑啊~~)...
分类:
其他好文 时间:
2014-05-26 05:51:44
阅读次数:
224
今天往工程里添加Log.h和Log.cpp这用来打印log的文件时, 编译报错误.
Log.cpp里的一些函数调用func1(), func2(), funcXXX()找不到实现, 可是那些函数明明在公共的接口库xxx.h和xxx.cpp里有声明和实现啊, 函数包含也没有问题.
问题排查 --> xxx.h里的函数声明都是static的, 很奇怪, 经对比, 只是我这个项目里这样, 其它项目...
分类:
其他好文 时间:
2014-05-26 03:58:26
阅读次数:
192
package com.codeconch.util;
import java.lang.instrument.Instrumentation;
public class Monitor {
private static Instrumentation instrumentation;
public static void premain(String args, Instrum...
分类:
编程语言 时间:
2014-05-24 21:39:23
阅读次数:
356
/** * 根据手机的分辨率从 dp 的单位 转成为 px(像素) */ public
static int dip2px(Context context, float dpValue) { final float scale =
context.getResources().getDispla.....
分类:
移动开发 时间:
2014-05-24 12:46:52
阅读次数:
313
有很多方案,先来最傻瓜式的 :static class Program { /// ///
应用程序的主入口点。 /// [STAThread] static void Main() {
if(System.Diagnostics.Process....