강의

멘토링

커뮤니티

Inflearn Community Q&A

woolim04choi7325's profile image
woolim04choi7325

asked

C Programming for Hardcore Beginners

Character, integer input and newline character removal

버퍼 내 엔터

Resolved

Written on

·

61

0

제 컴퓨터에선 스캔시 엔터를 누르면 메모리에서 0a라고 뜨지않고 그냥 00이라고 뜨는데 차이가 있는 건가요?

c컴퓨터-구조assembly-languagevc++

Answer 1

0

nullnull8537님의 프로필 이미지
nullnull8537
Instructor

메모리를 직접 확인하신 것인가요? 0x00이라는 것을 확인하신 방법과 본인의 코드를 알려주시면 다시 확인해보겠습니다. 윈도우나 VC 업데이트로 라이브러리가 변경되면서 달라지는 것일 가능성도 있습니다.

  1. 본인의 코드

  2. 개발환경 (Visual Studio 버전, Windows OS 환경)

등을 알려주시면 확인하고 답변을 올리겠습니다. 😄

woolim04choi7325's profile image
woolim04choi7325

asked

Ask a question