mat_de_b
2007-10-31 11:46:36
I get what they do, if im not mistaken they point to the adress at which data is stored, im just wondering what they are useful for? we dont use them in scar? and so im interested in their uses….
Mat
Mat
2007-10-31 11:46:36
2007-10-31 14:52:02
int myArray[10];
int* pointerToArray = &myArray;
for(int f = 0; f < 10; f++) {
cout << "index = " << f << " is " << *pointerToArray[0] << endl;
pointerToArray++;
}
2007-10-31 18:59:52
2007-11-01 07:45:02
From: R0b0t1
Pointers are like… Having WT-Fakawi teaching you SCAR. Yes, they are that awesome.
2007-11-04 16:12:04
2007-11-04 20:04:10
2007-11-05 04:18:16
2007-11-05 16:21:11
2007-11-05 16:40:08