10%
18.12.2013
(One-by-One)
1 #include
2
3 /* Our structure */
4 struct rec
5 {
6 int x,y,z;
7 float value;
8 };
9
10 int main()
11 {
12 int counter;
13 struct rec my_record;
14 int counter_limit;
15
10%
18.09.2012
VirtualBox
To communicate with the VirtualBox host, phpVirtualBox uses the Oracle SOAP interface VBoxWebSrv. In combination with a locally installed Apache2 web server with PHP 5 support, you then have a complete setup
10%
22.10.2012
008 device 4 device4
009 device 5 device5
010
011 # types
012 type 0 device
013 type 1 host
014 type 2 rack
015 type 3 root
016
017 # buckets
018 host host0 {
019 id -1 # do
10%
05.03.2013
other values passed in end up in the rest
array. The three dots (splats) show that the caller can pass in an arbitrary number of values. The
a 1,2,3,4,5,6
statement thus would output 3,4,5,6
.
If you
10%
31.07.2013
Code Example
1 #include
2
3 /* Our structure */
4 struct rec
5 {
6 int x,y,z;
7 float value;
8 };
9
10 int main()
11 {
12 int counter;
13 struct rec my
10%
12.03.2015
time: 5.245 seconds
iter 1
iter 5
iter 10
iter 15
iter 20
Benchmark completed
VERIFICATION SUCCESSFUL
L2 Norm is 0.5706732285739E-06
Error is 0.1345119360807E-12
MG
10%
15.12.2016
(CIRCLE) :: C ! Declare a variable of type Circle.
C = CIRCLE(1.5) ! Use the implicit constructor, radius = 1.5
CALL CIRCLE_PRINT(C) ! Call a class subroutine
END PROGRAM CIRCLE_TEST
Notice that the derived type is used to create
10%
12.11.2020
, not something that is defined by default in Fortran or C.
The third example is point-to-point code (Listing 5). Again, I modified the code to fit my sensibilities and to port to Python 3. I also changed the
10%
10.04.2015
3
04 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
05 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
06 | Source Port
10%
10.04.2015
Initialization time: 5.245 seconds
iter 1
iter 5
iter 10
iter 15
iter 20
Benchmark completed
VERIFICATION SUCCESSFUL
L2 Norm is 0.5706732285739E-06
Error is 0.1345119360807E