<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[汪海的学习笔记]]></title><description><![CDATA[各种转载相关的学术内容]]></description><link>https://blog.youkuaiyun.com/why_study</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; why_study]]></copyright><item><title><![CDATA[JavaScript]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/40954127</link><guid>https://blog.youkuaiyun.com/why_study/article/details/40954127</guid><author>why_study</author><pubDate>Sun, 09 Nov 2014 20:48:31 +0800</pubDate><description><![CDATA[function myFunction()
{
document.getElementById("demo").innerHTML="My First JavaScript Function";
}




My Web Page
A Paragraph
Try it]]></description><category></category></item><item><title><![CDATA[Android Relative Layout]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/20638101</link><guid>https://blog.youkuaiyun.com/why_study/article/details/20638101</guid><author>why_study</author><pubDate>Thu, 06 Mar 2014 17:08:05 +0800</pubDate><description><![CDATA[android:layout_above 将该控件的底部至于给定ID的控件之上
android:layout_below 将该控件的顶部至于给定ID的控件之下
android:layout_toLeftOf 将该控件的右边缘和给定ID的控件的左边缘对齐
android:layout_toRightOf 将该控件的左边缘和给定ID的控件的右边缘对齐


android:layout_al]]></description><category></category></item><item><title><![CDATA[Android对话框风格Activity的设置]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/17654487</link><guid>https://blog.youkuaiyun.com/why_study/article/details/17654487</guid><author>why_study</author><pubDate>Sun, 29 Dec 2013 15:34:08 +0800</pubDate><description><![CDATA[android 当中如果要写一个对话框风格的Activity，在AndroidManifest中对于Activity的声明加入一行代码：
 android:theme="@android:style/Theme.Dialog"]]></description><category></category></item><item><title><![CDATA[MySQL控制台快捷方式建立:操作如下：]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/13000825</link><guid>https://blog.youkuaiyun.com/why_study/article/details/13000825</guid><author>why_study</author><pubDate>Thu, 24 Oct 2013 16:40:51 +0800</pubDate><description><![CDATA[1)桌面右键->新建->快捷方式->对象位置输入：C:\Windows\System32\cmd.exe快捷方式名称自己定义，确定，快捷方式建立成功
2)右键单击刚才建立的快捷方式->属性->把目标一栏修改成MySQL启动参数：C:\Windows\System32\cmd.exe "D:\Program Files\MySQL\mysql-5.6.13-win32\bin" /k mysql ]]></description><category></category></item><item><title><![CDATA[嵌入式第一张ppt整理]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/12859913</link><guid>https://blog.youkuaiyun.com/why_study/article/details/12859913</guid><author>why_study</author><pubDate>Fri, 18 Oct 2013 23:37:26 +0800</pubDate><description><![CDATA[嵌入式系统就是一个具有特定功能或用途的隐藏在某种设备中的计算机软硬件集合体，没有固定的特征形状。
嵌入式系统三要素：嵌入 专用 计算机
一般包括一个实时内核，其调度算法一般采用基于优先级的可抢占的调度算法。
高可靠嵌入式操作系统：时、空、数据隔离
嵌入式系统的分类：按照处理器位数分类：4,8,16,32,64
按照应用来分类：信息家电类 移动终端类 汽车电子类 通信类 工业控制类
按照]]></description><category></category></item><item><title><![CDATA[C#的continue]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/12032201</link><guid>https://blog.youkuaiyun.com/why_study/article/details/12032201</guid><author>why_study</author><pubDate>Wed, 25 Sep 2013 23:19:45 +0800</pubDate><description><![CDATA[for (int i = 0; i 
                if ((i % 2) == 0)
                    continue;
                Console.WriteLine(i);
 }
执行结果为
1
3
5
7
9]]></description><category></category></item><item><title><![CDATA[各种例题]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8487526</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8487526</guid><author>why_study</author><pubDate>Wed, 09 Jan 2013 22:03:22 +0800</pubDate><description><![CDATA[#include 
     class B
     {
     public:
         B(int i)
         {  b=i;  }
         B()
         {
             b=0;
             cout<<"Default constructor called."<<b<<endl;
         }]]></description><category></category></item><item><title><![CDATA[题目C++]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8487482</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8487482</guid><author>why_study</author><pubDate>Wed, 09 Jan 2013 21:48:20 +0800</pubDate><description><![CDATA[#include 
      class A
      {
      public:
          A(int i)
          {  a=i;  }
          A()
          {
             a=0;
             cout<<"Default constructor called."<<a<<endl;
         }]]></description><category></category></item><item><title><![CDATA[各种复习时候的小东西]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8481886</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8481886</guid><author>why_study</author><pubDate>Tue, 08 Jan 2013 16:31:00 +0800</pubDate><description><![CDATA[函数指针
小栗子
#include 
using namespace std;
double f(int c){
	return 2*3.14*c;
}
void main(){
	typedef double (*Fp)(int);
	Fp fp;
	fp = f;
	double d = (*fp)(5);
	cout<<d;
}
#include 
using namespace st]]></description><category></category></item><item><title><![CDATA[使用非递归与递归来判断回文]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8479180</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8479180</guid><author>why_study</author><pubDate>Tue, 08 Jan 2013 00:37:34 +0800</pubDate><description><![CDATA[非递归方法
//回文
public class Palindromes {
	public static boolean isPalindomes(char []a){
		int flag = 0;
		char [] b = dealString(a);
		for (int i = 0; i < b.length; i++) {
			if (b[i]!=b[b.length-i-1])]]></description><category></category></item><item><title><![CDATA[计算一个数二进制中1的个数]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8479155</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8479155</guid><author>why_study</author><pubDate>Mon, 07 Jan 2013 23:59:17 +0800</pubDate><description><![CDATA[Write a recursive method that returns the number of 1’s in the binary representation of N. Use the fact that is equal to the number of 1’s in therepresentation of N/2, plus 1, if N is odd.
根据要求可以知道题目]]></description><category></category></item><item><title><![CDATA[各种小东西]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8475208</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8475208</guid><author>why_study</author><pubDate>Mon, 07 Jan 2013 01:04:53 +0800</pubDate><description><![CDATA[指针小栗子：

#include 
using namespace std;
void main(){
	char *p = "abcd";
	cout<<p<<endl;//abcd
	cout<<*p<<endl;//a
	cout<<(void *)p<<endl;//地址
}
#include 
using namespace std;
void main(){
	int x = 8]]></description><category></category></item><item><title><![CDATA[NewInt5]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8441555</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8441555</guid><author>why_study</author><pubDate>Thu, 27 Dec 2012 00:26:57 +0800</pubDate><description><![CDATA[勤劳的董花花又来贴代码了= =、
这一次实现了加减乘除和赋值还有
然后贴代码啦
NewInt.h
#include "iostream.h"
#include 
class NewInt{
private:
	int *array;
	int length;
public:
	NewInt();
	NewInt(const char*s,int len);
	~NewInt(){
		/*]]></description><category></category></item><item><title><![CDATA[NewInt 4]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8440616</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8440616</guid><author>why_study</author><pubDate>Wed, 26 Dec 2012 19:24:30 +0800</pubDate><description><![CDATA[发现了一个很严峻的问题，加法中有问题，所以又上传了一个版本，然后这个版本还实现了乘法，^ ^
然后就是感觉我的代码好凌乱啊，可维护性，可读性都超级弱爆了>.
然后上代码= =、
NewInt.h
#include 
#include 
class NewInt{
private:
	int *array;
	int length;
public:
	NewInt();
	NewInt(co]]></description><category></category></item><item><title><![CDATA[NewInt 3]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8439596</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8439596</guid><author>why_study</author><pubDate>Wed, 26 Dec 2012 16:18:16 +0800</pubDate><description><![CDATA[减法功能也实现啦，减法就是先对被减数取反，然后当加法算啦^ ^
然后依旧是上代码啦
NewInt.h
#include 
#include 
class NewInt{
private:
	int *array;
	int length;
public:
	NewInt();
	NewInt(const char*s,int len);
	~NewInt(){
		/*if (array!=]]></description><category></category></item><item><title><![CDATA[NewInt 2]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8439430</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8439430</guid><author>why_study</author><pubDate>Wed, 26 Dec 2012 15:54:11 +0800</pubDate><description><![CDATA[终于完整实现了加法啦，而且当当当当，我改变了一下初始化，然后数字没有最大长度为100的限制啦，随便你多长多长= =、就是占内存罢了
然后上代码啦
NewInt.h
#include 
#include 
class NewInt{
private:
	int *array;
	int length;
public:
	NewInt();
	NewInt(const char*s,int le]]></description><category></category></item><item><title><![CDATA[定义一个不受计算机字长限制的整数类INT，要求INT与INT以及INT与C++基本数据类型int之间能进行＋、－、×、÷和＝运算，并且能通过cout输出INT类型的值。（持续添加）]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8435744</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8435744</guid><author>why_study</author><pubDate>Wed, 26 Dec 2012 00:55:27 +0800</pubDate><description><![CDATA[题目要求：定义一个不受计算机字长限制的整数类INT，要求INT与INT以及INT与C++基本数据类型int之间能进行＋、－、×、÷和＝运算，
并且能通过cout输出INT类型的值。

一直就在构思这个程序肿么写，然后稍微有了一点点构思，但是由于我太笨了，所以今天只实现了+的一半的操作，但是呢，不想码了，今天先碎告了。明天继续加油~
文件清单：
main.cpp

#include "]]></description><category></category></item><item><title><![CDATA[Time类 Date类 TimeWithDate类]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8396275</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8396275</guid><author>why_study</author><pubDate>Mon, 24 Dec 2012 00:18:03 +0800</pubDate><description><![CDATA[感谢党感谢祖国最感谢汪二，帮我指明了错误T_T（抹泪）
然后废话不多说直接上题目要求加代码
题目 ：
1）定义一个时间类Time，实现：时间的比较（==、!=、>、>=、
2）定义一个日期类Date，它能表示：年、月、日。为其设计一个成员函数increment，它能把某个日期增加一天。
3) 定义一个带日期的时间类TimeWithDate。对该类对象能进行比较、增加（增加值为秒数）、相减]]></description><category></category></item><item><title><![CDATA[java 中用rmi实现helloWorld]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8382518</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8382518</guid><author>why_study</author><pubDate>Sun, 23 Dec 2012 02:18:23 +0800</pubDate><description><![CDATA[直接上代码
server包的类列表
HelloImpl
HelloLL
MainS
client包的类列表
HelloWorld
MainC
package server;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface HelloImpl extends Remote{
	pu]]></description><category></category></item><item><title><![CDATA[定义元素类型为int、元素个数不受限制的集合类Set， 包括：<=（包含于）、==（相等）、!=（不等）、 |（并集）、 &（交集）、-（差集）、+=（增加元素）、-=（删除元素）等操作]]></title><link>https://blog.youkuaiyun.com/why_study/article/details/8333925</link><guid>https://blog.youkuaiyun.com/why_study/article/details/8333925</guid><author>why_study</author><pubDate>Wed, 19 Dec 2012 22:53:23 +0800</pubDate><description><![CDATA[什么都不多说了，直接上代码= =、
感谢汪二的帮忙，不然一直都有问题>.
但是呢，还是要自力更生啦
#include 
using namespace std;
struct IntSet{
	int *inset;
};
class Set{
private:
	int size;
	int *elements;
public:
	Set(){size = 0;elements = NUL]]></description><category></category></item></channel></rss>