473,407 Members | 2,315 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,407 software developers and data experts.

How to manipulate the huge addresses?

hello,
i donot know how to manipulate this huge address like 0x59990005
,0x59980015 please explain in a clear way how to manipulate these huge addresses
I write a c program in which these addresses is used just tell how it's working
i m not able to understand how i slove this program.
Expand|Select|Wrap|Line Numbers
  1. #include<stdio.h>
  2.  
  3. void main(){
  4.  
  5. int huge *a =(int huge *)0x59990005;
  6.  
  7. int huge *b =(int huge *)0x59980015;
  8.  
  9. if(a == b)
  10.  
  11. printf("power of pointer");
  12.  
  13. else
  14.  
  15. printf("power of c");
  16.  
  17. getch();
  18.  
  19. }
  20.  
  21.  

thank you
May 22 '10 #1
2 1855
Banfa
9,065 Expert Mod 8TB
What platform are you working on that still uses huge pointers?
May 22 '10 #2
weaknessforcats
9,208 Expert Mod 8TB
Also, the actual value of a pointer is managed by the operating system. Therefore, putting some arbitrary value in a pointer is usually invalid since you cannot determine the address space of your process while it is executing.

What you should do is define other variables and pit the addresses of those variables in your pointer.
May 22 '10 #3

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

Similar topics

2
by: info | last post by:
Hello, The problem is to acquire image data and process them in parallel on a Windows 2000 system. So I am thinking of two threads. First thread is puting all the image data into a std::queue...
4
by: Lucky | last post by:
hi there!!! very much newbie to socket progammin in .net. i've try the DNS class to get the ip addresses but it always returns 1 ip that of my pc though i got 50 PCs connected to the LAN. i tried...
6
by: Michael Gray | last post by:
VS 2003 VB.net Win2000 SP4 The System.Array class seems to be limited to 32 bit addresses, meaning that one can only assign 2^32 elements. Is there any way that I can have an array that...
0
by: uncaged | last post by:
With a web service (.NET 2.0), is there a way to manipulate the underlying socket? I'm writing a simulator for a protocol that uses SOAP. I need to run it on a computer with multiple IP addresses...
7
by: tman | last post by:
I am generating a very large tree list in my program and while it's performance is great once loaded it takes a really long time to load. I create a root TreeNode "offline" and go through the...
6
by: Zytan | last post by:
I ran through the VB Guided Tour some time ago. In particular, the "Managing Your Records: Using Data in Your Program" section: http://msdn2.microsoft.com/en-us/library/t25kbx0s(VS.80).aspx ...
9
by: Ram Prasad | last post by:
Hi, I am a quiet a newbie to C programming. ( not new to programming itself though ) I am writing an email blacklist application that will lookup huge DB files like ----------...
2
by: Monroeski | last post by:
I am working on a form for approval/disapproval of requests. Basically, the user will select a RequestID from a combobox, then select approve or disapprove, then hit the submit button. When they...
45
by: Dennis | last post by:
Hi, I have a text file that contents a list of email addresses like this: "foo@yahoo.com" "tom@hotmail.com" "jerry@gmail.com" "tommy@apple.com" I like to
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.