473,325 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Can anybody explain the following declaration ? I do not understand

Expand|Select|Wrap|Line Numbers
  1.  
  2. char far * far * scr;
  3. char far far ** scr;
  4. char huge * far * near * scr;
  5. char huge far near *** scr;
  6.  
first declaration means scr contains far address of a far pointer to char..
Apr 3 '11 #1
1 2669
weaknessforcats
9,208 Expert Mod 8TB
Keywords like near/far/huge were once used as memory models in the old MSDOS days when computers had a max of 640K memory.

Any machine built in the last 15 years does not have that restriction so unless you have a real issue where you have to use really obsolete hardware, I would not spend time with segmented memory model syntax.
Apr 3 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: chak | last post by:
Hello, Can anyone give an idea why we get the error below when we try to run our first Dot net application ? Thanks. Server Error in '/XXX' Application.
9
by: andrew | last post by:
Hi, I posted this message recently, but received no response, so I figured I'd try again. I can't find anybody who can tell me what's going on here. I'm having a problem with fieldsets in IE...
2
by: Nick | last post by:
We have recently discovered that on our production environment certain aspx files, two to be certain, are displaying a behaviour we understand ought not to be possible under the (ASP).Net...
9
by: Abhishek | last post by:
Yet another option is to use pointers to arrays: int (*array4) = malloc(nrows * sizeof(*array4)); or even int (*array5) = malloc(sizeof(*array5)); Please explain the declaration of the...
0
by: thattommyhallll | last post by:
i am doing the problems at http://www.mathschallenge.net/index.php?section=project one problem involved finding factors, i used def divisors(n): divisors = set() for i in range(1, math.ceil(n...
1
by: webinfinite | last post by:
HI, I ran across a code written by somebody else. Since I am new to C++, could you please explain what each of "const *" means in this code snippet as well as the last "const"? Tool const*...
12
by: webinfinite | last post by:
#define D(y...) (const int ) {y} My understand is that D is taking in a various length parameter y which is an array of const int. Am I right? Thanks.
1
by: rahullko05 | last post by:
Can anybody explain the application of cron jobs
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.