Fix #115

It's code should fix issue 93, sorry about confusion.
Now operator >> use lexical_cast. So, the behaviour is the same.
Delete (index<=length) check(because f[length] = '\0').
Also, I clean checkstyle of this file.