C for new window with name prompt