自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

rocvfx的博客

Goals determine what you're going to be.

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

原创 cpp12.8

placenew1.cpp#include#include#includeusing namespace std;const int BUF = 512;class JustTesting{private: string words; int number;public: JustTesting(const string & s = "Just Testing", in

2017-01-23 17:40:27 255

原创 cpp12.4

string1.h#pragma once#includeusing std::ostream;using std::istream;class String{private: char*str; int len; static int num_strings; static const int CINLIM = 80;public: String(const c

2017-01-20 11:41:20 204

原创 cpp 12.1

strngbad.h#pragma once#includeclass StringBad{private: char*str; int len; static int num_strings;public: StringBad(const char*s); StringBad(); ~StringBad(); friend std::ostream & opera

2017-01-19 12:01:52 277

原创 cpp 11.19

stonewt1.h#pragma onceclass Stonewt{private: enum{Lbs_per_stn=14}; int stone; double pds_left; double pounds;public: Stonewt(double lbs); Stonewt(int stn, double lbs); Stonewt(); ~Stonew

2017-01-18 11:45:11 235

原创 cpp 11.18

stonewt.h#pragma onceclass Stonewt{private: enum{Lbs_per_stn=14}; int stone; double pds_left; double pounds;public: Stonewt(double lbs); Stonewt(int stn, double lbs); Stonewt(); ~Stonewt

2017-01-18 10:35:01 257

原创 cpp11.3

vector.h#pragma once#includenamespace VECTOR{ class Vector { public: enum Mode { RECT, POL }; private: double x; double y; double mag; double ang; Mode ang; void set_mag();

2017-01-17 10:30:31 236

原创 cpp11.10

mytime3.h#pragma once#includeclass Time{private: int hours; int minutes;public: Time(); Time(int h, int m = 0); void AddMin(int m); void AddHr(int h); void Reset(int h = 0, int m = 0);

2017-01-16 15:14:48 234

原创 cpp 11.7

mytime2.h#pragma onceclass Time{private: int hours; int minutes;public: Time(); Time(int h, int m = 0); void AddMin(int m); void AddHr(int h); void Reset(int h = 0, int m = 0); Time oper

2017-01-12 17:11:03 215

原创 cpp 11.4

mytime1.h#pragma onceclass Time{private: int hours; int minutes;public: Time(); Time(int h, int m = 0); void AddMin(int m); void AddHr(int m); void Reset(int h = 0, int m = 0); Time oper

2017-01-05 11:02:14 176

原创 cpp 11.1

mytime0.h#pragma onceclass Time{private: int hours; int minutes;public: Time(); Time(int h, int m = 0); void AddMin(int m); void AddHr(int m); void Reset(int h = 0, int m = 0); Time Sum(

2017-01-05 10:03:33 260

原创 cpp 10.10

stack.h#pragma oncetypedef unsigned long Item;class Stack{private: enum { MAX = 10 }; Item items[MAX]; int top;public: Stack(); bool isempty() const; bool isfull() const; bool push(con

2017-01-04 15:14:24 206

原创 cpp 10.7

10.7 stock20.h#pragma once#includeclass Stock{private: std::string company; int shares; double share_val; double total_val; void set_tot() { total_val = shares * share_val; }public: Stoc

2017-01-04 13:30:40 270

空空如也

空空如也

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

TA关注的人

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