I just started dabbling in pointers, and they fill me with a sense of nearly God-like power. I am also interested in manipulating various aspects of Windows, particularly Windows 98. From thence cometh my question. . . .

How does one manipulate the contents of the Windows Clipboard within his program? Is this possible?

Is the address of the clipboard constant on every machine on every boot?
If so, what's the address?

If not, can I write a loop that will query all available memory locations to check for clipboard data?

Finally, can one set the address for a pointer with hexadecimal numbers? I tried something to the extent of:

int *ptr;
ptr=0x00000001;
cout<<*ptr;

and visual c++ doesn't like my middle line above.

Thank you for consideration and advice.