added std namespace qualifier to all strcmp and exit calls