Not sure why you need a tilde so bad. Only thing I can think of is declaring destructors. No excuse not to start learning how to use classes. But also if all your symbols are switching how are you able to program anything??
Maybe he has multiple keyboard layouts and accidentally presses 'shift + ctrl', which on some setups switches between the different keyboard layouts?