Edit type of string (const char* -> const char [])

master
Peter0x44 3 년 전
부모
커밋
8811b3304f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      Frequently-asked-Questions--Common-Questions.md

+ 1
- 1
Frequently-asked-Questions--Common-Questions.md

@ -83,7 +83,7 @@ int screenCenterY = GetScreenHeight() / 2;
Next you need to compute how large the text is, and offset the center by half the text size.
```c
const char* text = "Congrats! You created your first window!";
const char text[] = "Congrats! You created your first window!";
int fontSize = 20;
int textWidth = MeasureText(text, fontSize);

불러오는 중...
취소
저장