Tag: array
-
RAID – redundant array of independent disks
https://raid.wiki.kernel.org/index.php/RAID_setup#RAID_setup
-
Example for an Array with processing language
/** * Array. * * An array is a list of data. Each piece of data in an array * is identified by an index number representing its position in * the array. Arrays are zero based, which means that the first * element in the array is [0], the second element is [1], and […]
-
BUBBLE SORT USING C . ARRAY SIZE 500
Fri Mar 28 18:17:40 IST 2014 real 0m0.004s user 0m0.000s sys 0m0.000s real 0m0.004s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.004s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s
-
Bubble Sort Using C with array size 300
Sun Mar 23 21:34:32 IST 2014 real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.001s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s
-
Array in PHP – Hypertext Preprocessor
$ 4.1.5 20 84—> cat phparray.php $ 4.1.5 21 85—> php phparray.php Welcome PHP C C++ Java Perl Python Ruby $ 4.1.5 22 86—>
-
arrays.pl
A UNIX Command $cat arrays.pl # Simple array constructs. @fred = (“How”, “are”, “you”, “today?”); print “\@fred contains (@fred).\n”; $mike = $fred[1]; print “$mike $fred[3]\n”; # The array name in a scalar context gives the size. $fredsize = @fred; print ‘@fred has ‘, “$fredsize elements.\n”; # The $#name gives the max subscript (size less one). […]
-
print with delay 0.1
/* Jeffrin Jose Licensed GPL v3 Copyright 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ #include #include int main() { int seconds; int i=0; char array[20]=”Happy Friendship Day”; /* printf(“n Happy Friendship Day n”); */ for(i=0;i<20;i++) { printf("%c",array[i]); /* for(seconds=0;seconds<100000000;seconds++);*/ /* system("sleep 1s");*/ sleep(1); /* Delay not Properly Implemented . FIXME. */ } printf("n"); return 0; }