diff --git a/refs/cppFormat b/refs/cppFormat new file mode 100644 index 0000000..d15d53f --- /dev/null +++ b/refs/cppFormat @@ -0,0 +1,37 @@ +#include +#include +#include +using namespace std; + +class C : public B { + // Private implied.. +public: + // Code... +}; + +struct D { + // Public implied.. +private: + // Code... +}; + +void f(int* p, int max) +{ + if (p) { + // Code... + } + + for (int i = 0; i