Stl string tokenizer

sir pls check error in my code in creating own string tokenizer link to code is https://ide.codingblocks.com/s/73544