]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/sandbox.mdwn
markdown backquotes
[git.ikiwiki.info.git] / doc / sandbox.mdwn
index 732bda2e09826780253b5f38bdae51647d71f731..681ec2ee1cf7072be8c96068ccdea999660a6f00 100644 (file)
@@ -39,9 +39,12 @@ pre formated text?
 ~~~
 
 ```
-testing markdown
+testing markdown  
+    with leading    and enclosed spaces
 ```
 
+markdown `inline` single-backquotes?
+
 # one
 
 - foo
@@ -79,11 +82,11 @@ testing markdown
     b. bar
 
 | table | here |
-|----|.----.|
+|----| ---- |
 | test adfasdfasdfa | 2 |
 | subtest | adfad|
 
-ok no formating.
+Sort of formatted.. No borders, though.
 
 
 > This is a blockquote.
@@ -226,3 +229,25 @@ Testing. Test. 試験として書き込みします。
 test
 
 I must **emphasise** this.
+
+
+// more pointers
+    #include <iostream>
+    using namespace std;
+    
+    int main ()
+    {
+      int firstvalue = 5, secondvalue = 15;
+      int * p1, * p2;
+    
+      p1 = &firstvalue;  // p1 = address of firstvalue
+      p2 = &secondvalue; // p2 = address of secondvalue
+      *p1 = 10;          // value pointed to by p1 = 10
+      *p2 = *p1;         // value pointed to by p2 = value pointed to by p1
+      p1 = p2;           // p1 = p2 (value of pointer is copied)
+      *p1 = 20;          // value pointed to by p1 = 20
+      
+      cout << "firstvalue is " << firstvalue << '\n';
+      cout << "secondvalue is " << secondvalue << '\n';
+      return 0;
+    }