Posts
All the articles I've posted.
-
[C] ASCII, String 문자열
ASCII is easy to understand if you think of it as a code assignment table for letters. Each letter is assigned a numeric value and uses 1B 8...
-
[C] scanf
scanf function also has a letter f ,formatted as printf meaning that it can specify the format. scanf function accepts input and is a standa...
-
[C] scanf 함수
scanf 함수는 printf 함수와 동일하게 f, formatted 즉 서식을 지정할 수 있다. scanf 함수는 입력을 받아들이는 함수이며, printf 와 동일하게 표준 라이브러리 함수이기 때문에 사용시 include 를 서두에 선언해야 한다. ...
-
[C] 문자열
ASCII는 글자들의 코드 배정표라고 생각하면 쉽게 이해할 수 있다. 각각의 글자들은 숫자 값이 할당되어 있으며, 1B 8 bit 메모리를 사용한다. 이를 16진수로 표현하면 글자 1의 경우 0x31 과 같이 대응할 수 있다. ASCII 코드는 영문,...
-
[C] 기수법
C언어에서 사용하는 대표적인 Data type을 소개하기 이전에 살펴볼 것은 기수법이다. 기수법은 수를 표현하는 방법으로 사람이 일반적으로 실생활속에서 사용하는 10진수외에도 2진수, 8진수, 16진수 등이 있다. 2진수은 0과 1만을 사용하여 수를 ...