Thank you all for quick response.
IMHO, you can't print array 256x65536 (it's tons of paper;).
--> I will store in file
What platform?
--> I use windows XP
You can't allocate 65536 elements on 16-bit platform (bad allocation then segment faults - 100%). This program allocates S on 32-bit...
I need to print an array[256x65536], I made a simple program but alway get error 2 if a=256 and b=65536.
Please help.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
typedef unsigned int WORD;
typedef WORD* WORDPTR;
WORDPTR *S;
WORDPTR D;
WORD...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.