Brackets c++ code