Compiling problem..

Does anybody know what the compiler is trying to tell me by that:

C:\democpp\Multipal.c(631) : error C4226: nonstandard extension used : 'huge' is an obsolete keyword
ssdjgru1Asked:
Who is Participating?
 
raybConnect With a Mentor Commented:
Huge refers to a now obsolete pointer type, from back in the days when we used to have to choose a memory model prior to beginning a new project.
0
 
Booth882Commented:
it is saying that you cannot use huge any more.  It doesn't exist in this language.
0
 
gramkCommented:
Windows 3.1 and DOS had different memory models like Tiny, Medium, Large, Huge etc. In these models, the memory was segmented into blocks of 64 KB known as 'segments' so that u have data segments, code segments etc. During those days, we used pointers of type 'far', 'near' etc to access the data in other segments . But now, Windows 95/NT have done away with all this stuff and so the compiler ignores keywords like 'huge', 'far', 'near' etc. It doesn't make any sense to the programs written for these OSs. Hence the message - 'huge' is an absolete keyword.

Thanx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.