1 package everyDay; 2 3 /* 4 * 查找 101 - 200之间的素数 5 */ 6 public class FindPrimeNumber { 7 8 public static void main(String[] args) { 9 10 ...
分类:
编程语言 时间:
2015-11-18 12:03:44
阅读次数:
184
一、效果二、实现- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self alertTest3];}/*** 文本对话框*/- (void)alertTest3{ //1.创建UIAlertController.....
分类:
其他好文 时间:
2015-11-18 10:34:58
阅读次数:
160
//1.进入第一 push- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ FirstViewController *firstVC = [[FirstViewController alloc] init]; [s.....
分类:
其他好文 时间:
2015-11-18 10:34:51
阅读次数:
111
1、Unity调iOS的方法 在首页的viewcontroller里面实现方法 void _PressButton3(const char *args){ // UnityAppController *unityapp = (UnityAppController *)[UIApplication s...
分类:
移动开发 时间:
2015-11-18 10:26:56
阅读次数:
633
一、效果二、实现- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self alertTest2];}/*** Destructive :“警示”样式*/- (void)alertTest2{ //1.创建UIA.....
分类:
其他好文 时间:
2015-11-18 10:25:53
阅读次数:
144
//1.手势,viewcontroller 进入下一页- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ MCJViewController *mcjVC = [[MCJViewController alloc] in....
分类:
其他好文 时间:
2015-11-18 10:25:32
阅读次数:
111
using UnityEngine;using System.Collections;using System.Collections.Generic;public class ConbineOpMesh : MonoBehaviour { void Start () { CombineToMe.....
分类:
其他好文 时间:
2015-11-18 09:14:35
阅读次数:
184
2.1.3 Search in Rotated Sorted Array其中无重复部分#include void main(){ int a[7]={4,5,6,7,0,1,2}; int result = SRSA(a,7,6); printf("%d",result);}int...
分类:
其他好文 时间:
2015-11-18 08:10:30
阅读次数:
165
1、设置按钮属性: self.titleBtn.imageView.contentMode = UIViewContentModeCenter; self.titleBtn.imageView.clipsToBounds = NO;2、处理点击事件- (void)titleBtn...
分类:
其他好文 时间:
2015-11-18 02:00:21
阅读次数:
139
自己琢磨了几个含义,还希望大家多多指教,谢谢:【1】双击窗体:会进入private void Form1_Load(object sender, EventArgs e)编辑界面;【2】Load:在其内部写的代码,在一开始加载窗体时,就会进行对应操作,显示相应内容;【3】单击:选中一个控件----属...
分类:
其他好文 时间:
2015-11-18 00:52:45
阅读次数:
201