自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

转载 Can we pass nontype parameters to templates?

轉載自http://quiz.geeksforgeeks.org/templates-cpp/We can pass non-type arguments to templates. Non-type parameters are mainly used for specifying max or min values or any other constant value for a p

2017-04-27 15:14:51 382

转载 What is the use of having destructor as private?

Ref http://stackoverflow.com/questions/631783/what-is-the-use-of-having-destructor-as-privateBasically, any time you want some other class to be responsible for the life cycle of your class' objec

2017-04-26 16:26:47 220

转载 Can we make copy constructor private?

轉載自http://quiz.geeksforgeeks.org/copy-constructor-in-cpp/ Yes, a copy constructor can be made private. When we make a copy constructor private in a class, objects of that class become non-copy

2017-04-26 15:02:32 252

转载 malloc() vs new

轉載自 http://www.geeksforgeeks.org/malloc-vs-new/malloc() vs newFollowing are the differences between malloc() and operator new.1) new calls constructors, while malloc() does not. In fact

2017-04-25 11:53:10 224

转载 conversion constructor

Ref http://quiz.geeksforgeeks.org/c-plus-plus/constructors/ Q16If a class has a constructor which can be called with a single argument, then this constructor becomes conversion constructor because

2017-04-25 11:49:35 623

转载 C++ Can't Overload Static Function with Non-Static Function

Ref http://stackoverflow.com/questions/5365689/c-overload-static-function-with-non-static-functionISO 14882:2003 C++ Standard 13.1/2 – Overloadable declarationsCertain function declarations

2017-04-21 18:48:52 708

转载 ubuntu 如何上ptt

ssh bbsu@ptt.cc

2017-04-21 17:32:39 689

转载 Some interesting facts about static member functions in C++

Ref http://www.geeksforgeeks.org/some-interesting-facts-about-static-member-functions-in-c/ 1) static member functions do not have this pointer.2) A static member function cannot be virt

2017-04-21 12:09:18 240

转载 copy constructor

#includeusing namespace std;class A{public: A(){ cout "1";} A(const A &obj){ cout "2";}};class B: virtual A{public: B(){cout "3";} B(const B & obj){cout"4";}};class C: vi

2017-04-20 11:42:36 288

转载 Multiple Inheritance in C++

#includeusing namespace std;class Person {public: Person(int x) { cout "Person::Person(int ) called" endl; } Person() { cout "Person::Person() called" endl; }}; class Faculty

2017-04-20 11:39:46 183

转载 Pure Virtual Functions and Abstract Classes in C++

reference http://quiz.geeksforgeeks.org/pure-virtual-functions-and-abstract-classes/1) A class is abstract if it has at least one pure virtual function.2) We can have pointers and references o

2017-04-20 11:29:21 380

转载 pure virtual function can has a function body

轉載自http://stackoverflow.com/questions/5481941/c-pure-virtual-function-have-body Your assumption that pure virtual function cannot be called is absolutely incorrect. When a function is declared

2017-04-19 18:48:56 344

转载 c++測試網站

http://quiz.geeksforgeeks.org/

2017-04-19 15:06:53 261

Multi-AP specification version 1.0

EasyMesh specification(Multi-AP specification version 1.0)

2019-03-14

空空如也

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

TA关注的人

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