다음 코드를 작성하지만 컴파일러가 경고 또는 오류를 표시하지 않는 이유는 무엇입니까? getActiveComputer 기능const 함수의 반환 값
const computer* const activeComputer = [self.setting getActiveComputer];
activeComputer.name = [service name];
activeComputer.ipAddr = ipAddress;
선언 대물-C에서
- (const computer* const) getActiveComputer
'컴퓨터'는 '구조체'또는 객체입니까? 그것은 차이를 만든다. – jer