본문 바로가기
[IT] C언어 입문(5) Operators, 연산자 - 논리연산자, 단축평가, 대입연산자, if문 및 while문 활용 □ 연산자 * Logical Operators - !, ||, && - logical_expression ::= logical_negation_expr | logical_or_expr | logical_and_expr - logical_negation_expr ::= !expr (not) - logical_or_expr ::= expr || expr (or) - logical_and_expr ::= expr && expr (and) - The result is 0 or 1 (int) - ex) (804; // b=00000000 - shift operator는 2, 4, 8, 16 ... 을 곱하는 효과가 있음 * Compound assignment operators - " +=, -=, *=, /=, .. 2021. 8. 22.
윈도우10 설치! USB에 윈도우10 이미지 미디어 만들기 OS가 깔려있지 않은 노트북이나 PC에 윈도우를 설치하기 위해서는 외부 매체에 윈도우10 이미지(미디어)를 만들어서 연결해야 합니다. https://www.microsoft.com/ko-kr/software-download/windows10%5C Windows 10 다운로드 Windows 10용 ISO 파일을 다운로드한 경우, 해당 파일은 선택한 위치에 로컬로 저장됩니다.컴퓨터에 타사 DVD 굽기 프로그램이 설치되어 있으며 해당 프로그램을 사용하여 설치 DVD를 만들려는 경우, www.microsoft.com 마이크로소프트 홈페이지의 Windows 10 다운로드 페이지에 접속합니다. "지금 도구 다운로드"를 선택해서 설치 프로그램을 다운로드합니다. 윈도우10 설치 프로그램이 실행되면 좀 기달려야 화면이 .. 2021. 8. 22.
무료 윈도우10 교육용 Education 라이센스 받기(feat.방통대, 사이버대 등 대학교 계정) 한국방송통신대학교나 사이버대학교 등에 입학을 하면 윈도우10 교육용(Edu) 라이센스를 무료로 받아서 활용할 수 있습니다. 라이센스 발급을 위해선 학교계정('@knou.ac.kr' 등 아카데미 메일계정)을 가지고 계셔야 합니다. 먼저, 아래 사이트 주소로 접속합니다. https://knou.onthehub.com/ https://knou.onthehub.com/ knou.onthehub.com 온더허브 사이트에 접속하면 로그인을 하라고 창이 뜹니다. 아직 계정 등록이 되어있지 않으므로 계정부터 등록합니다. 우측의 "등록"을 클릭합니다. 학생이나 교직원 여부를 이메일 계정을 통해 확인합니다. "@0000.ac.kr" 로 끝나는 대학교 계정을 가지고 있어야 접속이 가능합니다. 방송통신대학교 같은 경우에는 @.. 2021. 8. 21.
[IT] C언어 입문(4) Operators, 연산자 - scanf, 산술연산자, 관계연산자, 증감연산자, 대입연산자, 동등연산자 등 □ 기본연산자 * scanf - Analogous to printf, but used for input - scanf is passed a list arguments, control_string and other arguments - other arguments : addresses - ex) scanf("%d", &x); => &x : the address of x, The format %d is matched with &x - When reading numbers, it skips white space (blanks, newlines, and tabs) but when reading in a character white space is not skipped. c : Character d : Decim.. 2021. 8. 21.
[IT] C언어 입문(3) Data types, 데이터 타입(자료형) □ data types * Suffixes(접미사) for Data Type : int - int long, unsigned long - U or u : unsigned, ex) 25U, 0x32u - L or l : long, ex) 37L, 0x27L - UL or ul : unsigned long, 56uL, 234UL * Floating types - Variables of this type hold real values - float : 4bytes, 6 decimal places - double : 8bytes, 15 decimal places - long double : 12bytes, the compiler may provide more storage than double * Suffixe.. 2021. 8. 20.