From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
<나타나는 대신에, 다음과 같은 출력으로 나오게 됩니다.:
<(세개의 공백이 나타나고 ASCII 문자가 나타남)
왜 이런 현상이 발생되는 것입니까?
솔루션: 숫자 60의 데이타타입은 I32로 선언되어 있습니다. 그러므로 60의 문자표현은 "0000 003C"(총 4바이트 길이)입니다. 그래서, 헥사표현이 ASCII 형식으로 전환될 때, 각각의 바이트를 읽어들여 그에 맞게 변환하게 됩니다. 이 의미는 :
00 = 널(null) (또는 공백으로 나타남)
3C = < (60 의 ASCII 표현)
이것이 00 (공백) 00 (공백) 00 (공백) 3C (<) 로 나타나는 원인입니다.
이 문제를 해결하는 두가지 방법이 존재합니다.:
해법 1:
|