2014年3月15日
摘要: 三种flex4与Java顺利通信的方式是: flex与普通java类通信RemoteObject; flex与服务器交互HTTPService; flex与webservice交互WebService. 当大家尝试使用flex与普通java类通信时,一般用RemoteObject,具体的代码段如下: package com.flex.demo; /** *第一种 功能描述:该类用来实现flex与普通java类中的方法通信 * @author Administrator */ //以上是打头的功能描述,可以不写。 com.flex.demo.SimpleSe... 阅读全文
posted @ 2014-03-15 14:01 haosola 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 3n+1问题是一个简单有趣而又没有解决的数学问题。这个问题是由L. Collatz在1937年提出的。克拉兹问题(Collatz problem)也被叫做hailstone问题、3n+1问题、Hasse算法问题、Kakutani算法问题、Thwaites猜想或者Ulam问题。 问题如下: (1)输入一个正整数n; (2)如果n=1则结束; (3)如果n是奇数,则n变为3n+1,否则n变为n/2; (4)转入第(2)步。 刘汝佳的书上就写着,但是输出987654321时候还是溢出拉。 /*#include int main() { int n; int count=0;... 阅读全文
posted @ 2014-03-15 13:58 haosola 阅读(639) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using WebSupergoo.ABCpdf9;using System.Text;namespace ABCpdfTest{////// 官方网站:http://www.websupergoo.com//// demo用的是当前的最新版本ABCpdf .NET 9.1 X64,支持当前windows的主流操作系统,包括最新的w 阅读全文
posted @ 2014-03-15 13:54 haosola 阅读(575) 评论(0) 推荐(0) 编辑

toeflacttoeflieltstoefltoeflact