These files are most likely your text editor's auto backup, or maybe some other piece of software that manipulates original files (without ~
postfix). Check your software settings for auto save and auto backup.
I'd strongly suggest not to disable auto backup, but rather customize a path where your editor saves them. For example, you can easily do that in Emacs
text editor (see this discussion and wiki)
In case you still want to get rid of these files, you can always do that in your command line as follows:
rm *~
You can also remove these files recursively, i.e. not only in the current directory, but also in subdirs:
find . -type f -name "*~" -exec rm {} +