-This **SandBox** is also a [[blog]]! xxx
-
-[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a
-
-[[!format verilog """
-module vc_Mux2 #( parameter W = 1 )
-(
- input [W-1:0] in0, in1,
- input sel,
- output reg [W-1:0] out
-);
-
- always @(*)
- begin
- case ( sel )
- 1'd0 : out = in0;
- 1'd1 : out = in1;
- default : out = {W{1'bx}};
- endcase
- end
-
-endmodule
-"""]]
+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;
+ }