flowchart TD
STD_ALGORITHM[algorithm]
STD_ARRAY[array]
STD_CMATH[cmath]
STD_COMPARE[compare]
STD_CONCEPTS[concepts]
STD_CSTDDEF[cstddef]
STD_CSTDINT[cstdint]
STD_EXCEPTION[exception]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1.17.x: | |
| Overworld: | |
| River: | |
| Clay: | |
| Coal: Z-3 | |
| Copper: Z-7 | |
| Diamond: Z-1 | |
| Gold: Z+6 | |
| Iron: Z+2 | |
| Lapis: Z+3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git -c rebase.instructionFormat='%s%nexec GIT_COMMITTER_DATE="%cD" git commit --amend --no-edit' rebase -i --root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <:<::>:>extern signed decltype(::std)::main(void)noexcept<%return<:=:><volatile const auto and...>(volatile const auto and......)noexcept<:<::>:>->auto<%return reinterpret_cast<volatile const long long unsigned>(nullptr);%>();%> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| typedef struct node_t node_t; | |
| struct node_t { | |
| node_t* next; | |
| node_t* prev; | |
| const char* data; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define NOATOM | |
| #define NOCLIPBOARD | |
| #define NOCOLOR | |
| #define NOCOMM | |
| #define NOCTLMGR | |
| #define NODEFERWINDOWPOS | |
| #define NODRAWTEXT | |
| #define NOGDI | |
| #define NOGDICAPMASKS | |
| #define NOICONS |
C++ resources and a rearrangement of learncpp.com
- cppreference (C/C++ Documentation)
- Compiler Explorer (Running and sharing code)
- Coliru (Somewhat similar)
- C++ Standard Working Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template<auto f>struct A{template<class T>struct B{T x; | |
| constexpr T operator&&(T y ){return static_cast<T>(f( x,y));} | |
| constexpr T operator||(T y ){return static_cast<T>(f( x,y));} | |
| constexpr T operator& (T y ){return static_cast<T>(f( x,y));} | |
| constexpr T operator| (T y ){return static_cast<T>(f( x,y));} | |
| constexpr T operator^ (T y ){return static_cast<T>(f( x,y));} | |
| friend constexpr T operator&=(T y,B b){return static_cast<T>(f(b.x,y));} | |
| friend constexpr T operator|=(T y,B b){return static_cast<T>(f(b.x,y));} | |
| friend constexpr T operator^=(T y,B b){return static_cast<T>(f(b.x,y));}}; | |
| template<class T>friend constexpr B<T>operator&&(T x,A ){return{ x };} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define SPACE (NaN+[][a+t])[_1+[_1]] | |
| #define EXCLAMATION atob((Infinity+[])[0]+false)[0] | |
| #define QUOTE string[f+o+n+t+c+o+l+o+r]()[_1+[_2]] | |
| #define HASH atob(_0+i+(NaN)+false)[_1] | |
| #define DOLLAR atob(_0+i+S)[_1] | |
| #define PERCENT atob(_0+[_0]+(_0)+l)[_2] | |
| #define AND string[f+o+n+t+c+o+l+o+r](string[f+o+n+t+c+o+l+o+r]([]))[_3+[_1]] | |
| #define APOS atob(_0+i+false)[_1] | |
| #define LPAREN ([][a+t]+[])[_1+[_1]] | |
| #define RPAREN ([][a+t]+[])[_1+[_2]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const a=-3/80,e=1,f=5,g=8/3,h=9/10,i=1,l=11/3,n=3,o=1/3,r=1,s=7/3,t=10/3,u=12/5,v=1,w=9/5,x=18/7,z=0; | |
| z*e*r*o // 0 | |
| o*n*e // 1 | |
| t*w*o // 2 | |
| t*h*r*e*e // 3 | |
| f*o*u*r // 4 | |
| f*i*v*e // 5 | |
| s*i*x // 6 | |
| s*e*v*e*n // 7 |
OlderNewer