?
Solved

Compiling problem..

Posted on 1998-06-29
3
Medium Priority
?
208 Views
Last Modified: 2010-04-01
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
0
Comment
Question by:ssdjgru1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
rayb earned 100 total points
ID: 1166884
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
 
LVL 1

Expert Comment

by:Booth882
ID: 1166885
it is saying that you cannot use huge any more.  It doesn't exist in this language.
0
 

Expert Comment

by:gramk
ID: 1166886
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question