The correct spelling is dying.
Die plus ing = Dying.
The -ing form of the verb to die is spelled dying.
The -ing form is waving.
There are no such terms in C++.
Respell
You would spell value with -ing on the end as valuing.When you add -ing to a verb, and that verb has a silent E on the end, you get rid of the E.
Typing
riding
Practicing
eye ehn gee
planning
centering