SHARE
TWEET

Untitled

a guest Nov 16th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. **for nicely inserting code snippets:**
  2. ` ```[language identifier] `
  3. `your code here`
  4. ` ``` `
  5.  
  6. For example, the *identifier* for c++ is `cpp`:
  7. ` ```cpp `
  8. `.`
  9. `.`
  10. `.`
  11. ` ``` `
  12.  
  13. enables c++ syntax highlighting, resulting in a block of code that looks like this:
  14. ```cpp
  15. #include <iostream> //std::cerr, std::cout, std::cin
  16. #include <string>   //because c-strings are gross
  17.  
  18. int main()
  19. {
  20.     using std::string;
  21.     using std::cout;
  22.     using std::cin;
  23.     using std::cout;
  24.  
  25.     /* do stuff */
  26.     return 0;
  27. }
  28. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top