Fix #115

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.