How to create, change and delete string and DWORD values of the registry using C or C+?

any helpful comment is appreciated. i am desperately in need. Thanks

A