随笔分类 - C++
摘要:Itanium C++ ABI Contents Acknowledgements Chapter 1: Introduction 1.1 Definitions 1.2 Limits 1.3 Namespace and Header 1.4 Scope of This ABI 1.5 Base D
阅读全文
posted @ 2020-11-23 13:29
fndefbwefsowpvqfx
摘要:Calling Conventions Demystified Visual C++ calling conventions explained Introduction During the long, hard, but yet beautiful process of learning C++
阅读全文
posted @ 2020-11-23 13:13
fndefbwefsowpvqfx
摘要:https://www.cprogramming.com/compilingandlinking.html https://stackoverflow.com/questions/6264249/how-does-the-compilation-linking-process-work https:
阅读全文
posted @ 2020-11-23 12:36
fndefbwefsowpvqfx
摘要:https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzarg/name_mangling.htm Name mangling is the encoding of function and variable names into
阅读全文
posted @ 2020-11-23 12:33
fndefbwefsowpvqfx
摘要:https://itanium-cxx-abi.github.io/cxx-abi/ Itanium C++ ABI Revised March 14, 2017 Introduction The Itanium C++ ABI is an ABI for C++. As an ABI, it gi
阅读全文
posted @ 2020-11-23 12:31
fndefbwefsowpvqfx
摘要:#include <iostream> #include <vector> using namespace std; class RunBeforeMain{ public: static int hello() { cout<< "Hello world" <<endl; vector<int>
阅读全文
posted @ 2020-11-19 18:28
fndefbwefsowpvqfx
摘要:https://stackoverflow.com/questions/2766233/what-is-the-c-runtime-library I just asked this myself and was hurting my brain for some hours.Still did n
阅读全文
posted @ 2020-11-19 17:44
fndefbwefsowpvqfx
摘要:#include <iostream> #include <random> using namespace std; class Foo { public: Foo(); ~Foo(); Foo(const Foo&); Foo & operator=(const Foo&); }; Foo::Fo
阅读全文
posted @ 2020-11-16 09:31
fndefbwefsowpvqfx
摘要:TString.h #ifndef TSTRING_H #define TSTRING_H #include <iostream> #include <cstdlib> //类的编译,先处理成员变量,后处理函数,所以不用太在意成员变量与成员函数的顺序。 class TString { //集中在头部
阅读全文
posted @ 2020-11-16 09:29
fndefbwefsowpvqfx
摘要://This one actually compiles to assembly that doesn't have any conditionals: #include <stdio.h> #include <stdlib.h> void main(int j) { printf("%d\n",
阅读全文
posted @ 2020-11-16 09:11
fndefbwefsowpvqfx
摘要:#include<iostream> using namespace std; class Composition{ public: //同时有类内初始值和初始化列表时候,最终值为初始化列表中的 Composition():im(this),m(20){cout<<"Composition ctor
阅读全文
posted @ 2020-11-16 09:06
fndefbwefsowpvqfx
摘要:http://www.cplusplus.com/reference/cstdio/scanf/?kw=scanf http://www.cplusplus.com/reference/cstdio/sscanf/ http://www.cplusplus.com/reference/cstdio/
阅读全文
posted @ 2020-08-07 23:44
fndefbwefsowpvqfx
摘要:#include using namespace std; class a{ }aObj; class b{ char x; }bObj; class c{ virtual void foo(){}; char x; }cObj; class d{ void foo(){}; char x; }dObj; class e{ char a;...
阅读全文
posted @ 2018-08-23 21:36
fndefbwefsowpvqfx
摘要:struct Point3D{ float* Coordinates; Point3D(float x, float y, float z){ Coordinates= (float*)malloc(3* sizeof(float)); *(Coordinates+0)=x; *(Coordinates+1)=y; ...
阅读全文
posted @ 2018-05-20 18:42
fndefbwefsowpvqfx
摘要:http://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
阅读全文
posted @ 2017-12-27 10:12
fndefbwefsowpvqfx
摘要:https://github.com/thekvs/cpp-serializers
阅读全文
posted @ 2017-11-03 18:57
fndefbwefsowpvqfx
摘要:boost is not good enough, if there is an alternative, do not use boost. Too big and it's almost impossible to use just a single component of it, becau
阅读全文
posted @ 2017-10-23 19:29
fndefbwefsowpvqfx
摘要:https://github.com/fffaraz/awesome-cpp https://notabug.org/koz.ross/awesome-c
阅读全文
posted @ 2017-06-30 10:13
fndefbwefsowpvqfx

浙公网安备 33010602011771号