https://manual.cs50.io/
전체 노트: https://cs50.harvard.edu/x/2024/notes/1/
실습: https://cs50.harvard.edu/x/2024/psets/1/
시작하려면 3가지 주요 키를 알아야 합니다.
code filename.c // create a file // compiles the file from our instructions in C and creates an executable file called make filename ./filename // run
유형은 변수 내에 저장될 수 있는 가능한 데이터를 나타냅니다. 유형마다 특정 제한이 있으므로 유형은 매우 중요합니다.
비트 수는 계산할 수 있는 최대값과 최소값을 제한합니다.
printf는 다양한 형식 코드를 허용합니다. 전체 목록은 https://manual.cs50.io/3/fprintf
입니다.
int %i float %f char %c string %s
위 내용은 CS#의 컴퓨터 공학 소개 - 주간 노트의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!