User Tools

Site Tools


user:mgardne8:portfolio:notescrap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
user:mgardne8:portfolio:notescrap [2014/09/02 14:27] mgardne8user:mgardne8:portfolio:notescrap [2014/09/02 14:28] mgardne8
Line 32: Line 32:
  
 ---------------------------- ----------------------------
-Grid - 1byte = 8bits+  Grid - 1byte = 8bits
 ---------------------------- ----------------------------
   bc -l   bc -l
Line 39: Line 39:
   2^32 = 4294967296   2^32 = 4294967296
   2^64 = 18446744073709551616   2^64 = 18446744073709551616
-----------------------------+---------------------------
   X64 0x0000000000000000   X64 0x0000000000000000
----------------------------+---------------------------
- +
-int g[4]; +
-int *g=(int *)malloc(sizeof(int)*4);+
  
-g[0]     7; +  int g[4]; 
-g[1]     3; +  int *g=(int *)malloc(sizeof(int)*4); 
-*(g+2) =  13; +   
-g[2]    13;+  g[0]     7; 
 +  g[1]     3; 
 +  *(g+2) =  13; 
 +  g[2]    13;
  
  
user/mgardne8/portfolio/notescrap.txt · Last modified: 2014/09/02 14:34 by mgardne8