Click here to Skip to main content
15,907,396 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Question. Pin
Michael Dunn24-Jan-04 6:13
sitebuilderMichael Dunn24-Jan-04 6:13 
GeneralRe: C++ Question. Pin
Jörgen Sigvardsson24-Jan-04 9:42
Jörgen Sigvardsson24-Jan-04 9:42 
GeneralRe: C++ Question. Pin
Inam24-Jan-04 6:57
Inam24-Jan-04 6:57 
GeneralRe: C++ Question. Pin
WREY25-Jan-04 0:22
WREY25-Jan-04 0:22 
GeneralRe: C++ Question. Pin
wb25-Jan-04 4:48
wb25-Jan-04 4:48 
GeneralRe: C++ Question. Pin
Gerald Schwab25-Jan-04 16:29
Gerald Schwab25-Jan-04 16:29 
GeneralRe: C++ Question. Pin
toxcct25-Jan-04 22:58
toxcct25-Jan-04 22:58 
GeneralRe: C++ Question. Pin
WREY26-Jan-04 3:58
WREY26-Jan-04 3:58 
Thanks for replying.

The problem is NOT with the allocation of memory. Operator 'new' makes easy job of that (providing there is enough space on the heap). The problem is getting around the compiler's insistence that the size of the array be known at compile time. That IS the problem!!

The main objective is NOT whether memory is to be statically allocated, or dynamically allocated. The main problem is with the SIZE of the memory I wish to allocate, which the compiler is insisting it MUST know at compile time.

I am trying to find out if there is a way I can let the compiler know that information at run time, which so far it is saying, "NO!!"

William

Fortes in fide et opere!
GeneralRe: C++ Question. Pin
toxcct26-Jan-04 6:35
toxcct26-Jan-04 6:35 
GeneralRe: C++ Question. Pin
WREY26-Jan-04 10:14
WREY26-Jan-04 10:14 
Generalconvert .net project to vs6 project Pin
sstoyan24-Jan-04 3:28
sstoyan24-Jan-04 3:28 
GeneralRe: convert .net project to vs6 project Pin
Jörgen Sigvardsson24-Jan-04 5:11
Jörgen Sigvardsson24-Jan-04 5:11 
GeneralRe: convert .net project to vs6 project Pin
sstoyan25-Jan-04 1:30
sstoyan25-Jan-04 1:30 
GeneralVLDB question... Pin
Orkun GEDiK24-Jan-04 2:01
Orkun GEDiK24-Jan-04 2:01 
Generalto make a transparent image Pin
emmatty24-Jan-04 1:50
emmatty24-Jan-04 1:50 
GeneralRe: to make a transparent image Pin
Delfny26-Jan-04 8:42
Delfny26-Jan-04 8:42 
GeneralUsing theCArray class with a non trival Class Pin
magpierre24-Jan-04 1:36
magpierre24-Jan-04 1:36 
GeneralRe: Using theCArray class with a non trival Class Pin
John R. Shaw24-Jan-04 7:18
John R. Shaw24-Jan-04 7:18 
GeneralRe: Using theCArray class with a non trival Class Pin
John R. Shaw24-Jan-04 7:20
John R. Shaw24-Jan-04 7:20 
GeneralDevice Driver Programming Pin
A_Fa24-Jan-04 1:27
A_Fa24-Jan-04 1:27 
GeneralRe: Device Driver Programming Pin
Anonymous24-Jan-04 2:27
Anonymous24-Jan-04 2:27 
GeneralRe: Device Driver Programming Pin
dejones7224-Jan-04 6:38
sussdejones7224-Jan-04 6:38 
GeneralRe: Device Driver Programming Pin
wb25-Jan-04 4:39
wb25-Jan-04 4:39 
GeneralRe: Device Driver Programming Pin
toxcct25-Jan-04 23:02
toxcct25-Jan-04 23:02 
GeneralUnicode ActiveX on 98 Pin
Hesham Amin24-Jan-04 1:04
Hesham Amin24-Jan-04 1:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.