自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

转载 反转句子中的单词 如: I love you 转为 You love I

#include"stdafx.h"#include"iostream"#include"vector"#include"string"usingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){str...

2015-06-10 09:09:00 750

转载 建立链表

intcreatelink(){structstudent{intdata;structstudent*next;};structstudent*head,*r;r=head=(st...

2015-03-09 15:12:00 173

转载 查找字符

chara[20]="dfsfsadf";inti;for(i=0;i<strlen(a);i++){if(a[i]=='a')//查找字符a;{cout<<i<<...

2015-03-08 20:54:00 124

转载 字符串赋值

#include"stdafx.h"#include<iostream>usingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){charstring[20]="dfsfsadf";intle...

2015-03-08 20:35:00 88

转载 快速排序

voidQsort(inta[],intlow,inthigh){intfirst,last;first=low;last=high;intmin=a[low];while(first<last){...

2015-03-08 19:44:00 69

转载 结构体的解释

struct Student { char szName[64]; int nYear; int nMonth; int nDay; float fScore[3];};int main(){ Student stu; //Student 是...

2015-02-25 10:54:00 187

转载 C++ 小程序--计算圆的面积和周长

#include"stdafx.h"#include<iostream>usingnamespacestd;//计算圆的面积和周长floatcircle(floatr){return2*3.14*r;}//圆的周长floatarea(floa...

2015-01-27 21:49:00 2885

转载 C# 写文件 当前位置追加

publicvoidWrite(stringscoredata){FileStreamfs=null;stringfilePath="F:\\score.txt";//文件位置/...

2015-01-27 16:38:00 230

转载 排序算法--直接插入排序

#include<iostream>usingnamespacestd;voidinsertsort(inta[],intn){inti,j;inttemp;for(i=1;i<n;i++){...

2014-11-03 16:31:00 62

转载 数据结构---队列

/***@briefC语言顺序结构队列的实现*@authorwid*@date2013-10-30**@note若代码存在bug或程序缺陷,请留言反馈,谢谢!*/#include<stdio.h>#include<stdlib.h...

2014-10-27 19:23:00 88

转载 数字 转为 ASCLL码

#include<iostream>usingnamespacestd;intmain(){inti,n;inta[32];charb[32];cin>>n;for(i=0;i<n;i++...

2014-10-21 22:28:00 1642

空空如也

空空如也

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

TA关注的人

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