Parsing char[] instead of const char*