自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 win7 系统远程默认共享共享失败,拒绝访问的解决

情况:win7 64位系统访问win7 32位系统 的默认共享,拒绝访问。win7 32位系统访问win7 64位系统的默认共享,输入用户名和密码后可以正常访问。看了网上的文章,以为是64位和32位的问题,尝试了各种方法,更改组策略、关闭系统防火墙、关闭360等都不奏效。查看服务器安全日志如下:对其中审核成功ID为4624的的登录日志详情:已成功登录帐户。主题:...

2019-01-11 16:30:16 8514 4

原创 C++ Primer Plus 7.4

<br />//test 7.4 lotto--probability of winning#include <iostream>long double probability(unsigned numbers, unsigned picks);int main(){ using namespace std; /* //one field double total,choices; cout<< "Enter the total number

2011-04-23 02:48:00 306

原创 C++ Primer Plus 7.3

<br />#include <iostream>#include <string> //#include <cstring> struct box{ char maker[40]; float height; float width; float length; float volume;};void Set_struct(box *);void Disp_struct(box);void main(){ using namespac

2011-04-21 18:55:00 331

原创 C++ Primer Plus 7.2

<br />#include <iostream>const int Size=10;void in_score(int *,int *);void disp_score(const int *,int);void average_score(const int *,int);int main(){ int score[Size],l; in_score(score,&l); disp_score(score,l); average_s

2011-04-21 04:16:00 312

原创 C++ Primer Plus 7.1

<br />#include <iostream>double harm_m(double,double);int main(){ using namespace std; double x=0,y=0; cout<<"Please enter X and Y: "; cin>>x; cin>>y; while(x!=0 && y!=0) { cout<<"The Harmonic mean of x and

2011-04-20 21:58:00 273

原创 C++ Primer Plus 6.9

#include #include #include #include #include using namespace std;const int listsize=10;const int donation_money=1000;const int file_size=60;struct donation{ string name; double don;};int main(){ int num=0,i=0,j=0; char filen

2011-03-28 02:19:00 352

原创 C++ Primer Plus 6.8

<br />#include <iostream>#include <fstream>#include <cstdlib>const int SIZE = 60 ;int main(){ using namespace std; char filename[SIZE]; ifstream inFile; cout << "Enter name of data file: "; cin.getline(filename,SIZE);

2011-03-27 19:07:00 352

原创 C++ Primer Plus 6.6

<br />#include <iostream>#include <string>#include <cstring>using namespace std;const int listsize=10;const int donation_money=1000;struct donation{ string name; double don;};int main(){ int num=0,i=0,j=0; cout<<"Please enter numb

2011-02-27 11:01:00 208

原创 c++ Primer Plus 6.5

#include using namespace std;int main(){ cout>income&&income>=0) { if(income35000) tax=(15000-5000)*0.1+(35000-15000)*0.15+(income-35000)*0.2; cout

2011-02-27 10:05:00 292

原创 C++ Primer Plus 6.4

#include using namespace std;const int strsize=20;const int listsize=5;void showmenu();struct bop{ char fullname[strsize]; //real name char title[strsize]; //job title char bopname[strsize]; //secret BOP name int preference;   // 0 =  fullname, 1 = title,

2011-02-27 09:28:00 254

原创 C++ Primer Plus 6.3

显示部分的那些句子参考了答案!#include using namespace std;void showmenu();int main(){ //while(cin.get()!='/n'); char ch; showmenu(); cin>>ch; while(ch!='c'&&ch!='C'&&ch!='p'&&ch!='P'&&ch!='t'&&ch!='T'&&ch!='g'&&ch!='G') { while(cin.get()!='/n');

2011-02-27 09:26:00 297

原创 C++ Primer Plus 6.2

#include "iostream"#include using namespace std;int main(){ char ch; double a[10]; int i=0,j=0,number=0,m=0,tmp=0; double average,sum=0.0; cout.setf(ios::fixed); cin.get(ch); while(isdigit(ch)&& i0) { a[i]=a[i]*10+tmp; s++;

2011-02-25 14:08:00 332

空空如也

空空如也

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

TA关注的人

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