나는 다른 날에 포인터 화살표를 c의 특정 방법으로 사용해서는 안된다는 통지를 받았습니다. 나는 보통 난 그냥 물어보고 싶은게포인터 화살표 사이의 간격
struct info *information;
information->x = 0;
참조 무엇
struct info {
int x;
char *data;
}
int main() {
struct info *information;
information -> x = 0; /*Notice the spacing here between information and -> x*/
information -> data = "";
}
는이 단지 일반 코딩 표준 일이 내가했던입니까? 나는 p- 느낌보다 훨씬 깨끗합니다.