码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
自动跳转JS代码
public static void TipAndRedirect(string msg, string goUrl, string second) { HttpContext.Current.Response.Write(""); Htt...
分类:Web程序   时间:2015-05-14 14:00:34    阅读次数:140
Android Json 解析
方法一 使用API解析json:{"beaconid":"2397","state":"01","userid":"90"}获取json的方法 private void sendRequestWithHttpClient(){ new Thread(new Runnab...
分类:移动开发   时间:2015-05-14 13:58:31    阅读次数:116
iOS UIView简单缩放动画
@interface ViewController () { UIView *animationView; UIButton *button; CGPoint animationPoint;}@end初始化button和动画的view- (void)viewDidLoad { ...
分类:移动开发   时间:2015-05-14 13:36:47    阅读次数:171
十进制转化为其他进制(C语言)
#include int a[1000]; int k=0; void change(int x,int r){ while (x) { a[k++]=x%r; x=x/r; } } int main(){ int x,r,i; printf("输入一个十进制数:\n"); scanf("%d",&...
分类:编程语言   时间:2015-05-14 12:06:54    阅读次数:146
显示一周的算法
需求就是这样,显示一周的日历。 public class Test { public static void main(String[] args) { // TODO Auto-generated method stub String number[] = new String[7]; Calendar calendar = Calendar.getIn...
分类:编程语言   时间:2015-05-14 12:04:32    阅读次数:168
亲密数
#include #include int qingmiaoduishu(int n) { int i,sum; sum=1; for(i=2;i<=n/2;i++) if (n%i==0) sum+=i; return sum; } void main() { int a,b,c; for (a=...
分类:其他好文   时间:2015-05-14 12:02:53    阅读次数:127
关于C#异常Log处理
using System.Windows.Forms;using System.IO;public static void CreateLog(Exception ex) { string path = Application.StartupPath +"\\Lo...
分类:Windows程序   时间:2015-05-14 11:41:11    阅读次数:207
bianwu
protected void gv1_RowDataBound(object sender, GridViewRowEventArgs e) { //首先判断是否是数据行 if (e.Row.RowType == Data...
分类:其他好文   时间:2015-05-14 11:39:03    阅读次数:114
Notification新旧用法
//api 11 版本之前:protected void showNotification() { NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATI...
分类:其他好文   时间:2015-05-14 11:33:30    阅读次数:119
回调函数的使用
在oc中,我都是使用块函数的方法来传递参数和事件调用,在C++也可以使用回调函数来实现TestClass.h#pragma oncestruct dlgStruct{ void* pObj; int pos;};typedef void WaitFunc(int a);typedef v...
分类:其他好文   时间:2015-05-14 11:30:02    阅读次数:99
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!