|
-
Oct 16th, 2001, 02:06 PM
#1
Allocating memory in C++
I need to allocate a 64000 byte array to use as a virtual screen. I tried using "new char[64000]" but that returns a null pointer every time. How do i allocate that much memory in C++? (Im trying to stay away from C code because id have to include extra header files.)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|