::> int pointer;
should be:
int *pointer[2];
since you want an array of 2 pointers to int.
::> pointer = new *int[2]; // These are the 3
remove this, the first line handles it.
::> pointer[0] = new int[total[0]]; // bad lines
::> pointer[1] = new int[total[1]]; //
now this should work as expected.
# Herbert Bushong harchon@centuryinter.net [TEAM OS/2]
- Blackbeard's BBS Intelec: 239:600/0
+ Fido: 1:19/19 http://www.win.net/eunicecity/stltcc/hbush/
---
RM 1.31 2508 Cool Dude!
---------------
* Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19)
|