add basic operators on c-string