自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Belle_Chou的博客

菜鸟程序媛

  • 博客(9)
  • 问答 (1)
  • 收藏
  • 关注

原创 串的赋值操作(C++)

#include <iostream>#include <malloc.h>using namespace std;typedef struct{ char* ch; int length;} Str;void Strassign(Str& str,char *ch)//结构体的引用{ cout<<str.ch<<endl; if(str.ch)

2017-04-30 16:55:04 3284

原创 ArrayList中动态删除结点(连续删除易出错)

点击打开链接

2017-04-29 14:58:03 219

原创 传递指针和传递指针的指针

总是不懂指针 看了一个csdn的问题 豁然开朗在写一个栈的东西,在销毁的时候有点小问题#define POSITION int#define SIZE_T int#define ELEMTYPE char#define BUTTOM -1struct stStack {POSITION top;ELEMTYPE *buffer;SIZE_T MAXNUM;SIZE_T lengt

2017-04-26 15:33:56 1071

原创 hashmap的key排序--还不懂

按这个人的写的package test;import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.util.HashMap;import java.util.Iterator;import java.util.List;import java.util.

2017-04-24 22:42:19 526

原创 Calendar类

package test;import java.util.*;public class Pillar { public static void main(String args[]){ Scanner in=new Scanner(System.in); int year=in.nextInt(); int month=in.nextInt(

2017-04-24 18:08:05 133

原创 复数相加减(对象的拷贝构造函数)

package test;import java.util.*;class Complex{ int a; int b; Complex(int a,int b) { this.a=a; this.b=b; } Complex() { } Complex(Complex t1){

2017-04-20 23:36:41 407

原创 大整形数--两种

自己写的package test;import java.math.BigInteger;import java.util.*;public class Main{ public static void main(String[] args) { BigInteger n1=new BigInteger("100"); BigInteger n2=ne

2017-04-20 20:28:11 188

原创 Arraylist的对象排序

package test;import java.awt.List;import java.util.ArrayList;import java.util.Collection;import java.util.Collections;import java.util.Scanner;//write here//要实现comparable接口中的compareToclass Emplo

2017-04-19 23:26:01 339

原创 数据结构 hanoitower --c语言

#include <stdio.h>#include <stdlib.h>void HanoiTower(int n,char from,char aux,char to){ if(n==1) printf("move 1 from a to c\n"); else { HanoiTower(n-1,from,to,aux);

2017-04-03 22:18:24 552

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除