Hello,

iam pretty new to c++ and i want to store the clipboard into a string, manipulate the string, and put the manipulated string back into the clipboard.

EXAMPLE:
1. copying folloing lines into the clipboard

LineLineLineLine
LineLineLineLine

2. storing this text in a string.

3. manipulate the string.

LineLineLineLine
INSERT
LineLineLineLine
INSERT

4. Put this string back into the clipboard.

i found serveral threads on msdn =>http://msdn.microsoft.com/en-us/library/93ks5wxz.aspx
but i couldnt compile them. and i have no clue about the syntax.

but i think i could do i if you give me and example.


thanks