explain please

This is a discussion on explain please within the C Programming forums, part of the General Programming Boards category; explain the following pls 1. (*((volatile unsigned char *) 0xE005C000)) wat it mean actually why it is needed....

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    1

    explain please

    explain the following pls


    1. (*((volatile unsigned char *) 0xE005C000)) wat it mean actually why it is needed.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    It means you're taking a pointer that points to type volatile unsigned char, setting it to point to address 0xE005C000, and then dereferenceing the pointer.

    Simply put, you're getting what's at address 0xE005C000.

    The volatile is just something to do with not caching the value, so you don't get trapped with thread synchronization issues and the like.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    72
    please could you put all the program's code to see where is the problem
    proud to be from aui www.aui.ma and also a great elton john's fan

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can someone explain to me what this code means
    By Shadow12345 in forum C++ Programming
    Replies: 3
    Last Post: 12-22-2002, 12:36 PM
  2. Replies: 4
    Last Post: 11-19-2002, 09:18 PM
  3. explain this loop statement?
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 05-05-2002, 03:46 AM
  4. Pls explain how this program works...
    By Unregistered in forum C Programming
    Replies: 9
    Last Post: 01-05-2002, 09:53 AM
  5. Can someone explain "extern" to me?
    By valar_king in forum C++ Programming
    Replies: 3
    Last Post: 09-16-2001, 01:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21