// CommonInject.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
#include
#include
#include
using namespace std;
#include
#pragma comment(li...
分类:
编程语言 时间:
2014-06-20 13:09:49
阅读次数:
306
Java用vector容器排序
/**
* 功能:定义一个Student数组,其中保存学生的基本信息,包括姓名,学号,性别,还有三门课的成绩
* 和课程对应的学分,计算出学分积,降序排序
* 时间:2014年6月4日16:33:24
* 作者:cutter_point
*/
package com.lesson4;
import java.util.*;
public clas...
分类:
编程语言 时间:
2014-06-20 10:17:21
阅读次数:
489
统计随机生成的数出现次数
/**
* 功能:定义一个一维数组,其中存储随机生成的1000个1到100以内的整数,统计每个整数出现的次数
* 时间:2014年6月4日16:03:54
* 作者:cutter_point
*/
package com.lesson4;
import java.util.*;
public class Demo4_9
{
public static ...
分类:
其他好文 时间:
2014-06-20 09:29:02
阅读次数:
226
【题目】
Given a binary tree
struct TreeLinkNode {
TreeLinkNode *left;
TreeLinkNode *right;
TreeLinkNode *next;
}
Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be...
分类:
其他好文 时间:
2014-06-07 14:28:36
阅读次数:
215
方法一 算法 : public int isLeft(Point P0, Point
P1,Point P2) { int abc= ((P1.X - P0.X) * (P2.Y - P0.Y) - (P2.X - P0.X) * (P1.Y -
P0.Y)); return abc; } priv...
分类:
其他好文 时间:
2014-06-07 10:33:56
阅读次数:
351
1、结构中可以声明字段,但是不能够给字段初始值public struct Point {
private int x; x = 1; //错误 1 类、结构或接口成员声明中的标记“=”无效 public Point(int x)...
分类:
其他好文 时间:
2014-06-06 15:57:00
阅读次数:
215
Catch That CowDescriptionFarmer John has been
informed of the location of a fugitive cow and wants to catch her immediately.
He starts at a point N (0...
分类:
其他好文 时间:
2014-06-05 19:54:29
阅读次数:
298
CPU的标识ILP32:Windows X86 int long point 32位=
4个字节LP64: X86_64 long point 64位 = 8个字节char和string的存储区别1. char 是标准C语言类型,
优点:基础类型,结构单一,速度快,拷贝快,因为不是基于new和del...
分类:
编程语言 时间:
2014-06-05 17:32:54
阅读次数:
251
由于做项目的需要和自己的爱好,最近在找关于无线路由器的资料,找到了些相关的资料,在这里总结一下。一、无线路由器与无线AP的区别AP为Access
Point简称,一般翻译为“访问节点”,无线AP主要是提供无线工作站对有线局域网和从有线局域网对无线工作站的访问,在访问接入点覆盖范围内的无线工作站可以通...
分类:
其他好文 时间:
2014-06-05 17:30:22
阅读次数:
321
一。介绍public abstract void invalidateDrawable
(Drawable who)Called when the drawable needs to be redrawn. A view at this point
should invalidate itself ...
分类:
其他好文 时间:
2014-06-05 14:13:44
阅读次数:
218