분류 전체보기 (54) 썸네일형 리스트형 중첩반복문 do-while문 : 조건식 검사를 마지막에 하므로, 조건식의 참/거짓 여부 관계없이 반복문 내의 코드를 최소 1번은 실행함반복문의 본체 내에 다른 반복문 포함가능(ex. while 루프 내에 다시 while 루프 포함for 루프 내에 다시 for 루프 포함while 루프 내에 다시 for 루프 포함)바깥 루프의 각 반복에 대해 안쪽 루프가 완전히 실행되므로,2차원의 반복적인 일 수행가능 음수를 입력할 경우, 값을 계속 입력받기#includeint main(void){ int n; do { printf("음수 입력?"); scanf("%d", &n); }while (n>0); return 0;} *을 5개씩 3줄 찍기#include int main(.. C언어 코드실행 시각화 사이트 Online C Compiler, Visual Debugger, and AI Tutor - Learn C programming by visualizing codeWrite code in C (C17 + GNU extensions) Visualize Executionpythontutor.com 반복문 반복문 (Repetition Statement) 혹은 루프(Loop) : while문 / for문 / do-while문조건을 만족하면 특정문장을 반복실행 while문(어떤 조건에 의해 뭔가를 수행할 때)#include int main(void){ int a; scanf("%d", &a); while (a for문 : 조건 수식이 참인 동안에 Loop_statement 계속수행(구간이 명확할 때)#include int main(void){ int i; for(i=1; 1 반복범위 (the range of i in for-stat) : for문 실행 중 반복변수의 시작값, 끝값, 증가량반복 후 값 (the value of i after for-stat).. 조건문 if (expression) statement_true 제어흐름 : 프로그램에서 실행되는 문장들의 실행순서조건식(expression)이 참(true) : statement_true 실행하고 다음문장으로 진행조건식(expression)이 거짓(false) : statement_true 실행하지 않고 다음문장으로 진행제어구조 (Control Construct) / 제어문 (Control Statement) : 프로그램에서 실행되는 문장들의 실행순서를 제어/변경할 수 있는 문장C언어 제어구조 : 조건문 / 반복문 / 분기문 / 함수호출 등 제어흐름(실행순서)를 변경함조건문 (Conditional Statement) : If문 / if-else문 / switch문조건에 따라 문장 실행 여부 · 실행할 문장을 선.. 자료형과 연산자 includeint main(){ int ia; float fb; return 0;} 변수 (Variable) : 값을 저장하는 메모리 공간자료형 (Type) : 변수가 표현·저장하는 데이터의 종류·유형int : 정수형 (4byte)float : 실수형 (4byte)double : 더 정밀한 실수형 (8byte)char : 문자형 식별자 : 변수, 함수 등에 대한 이름식별자 제약조건1. 첫 글자에 숫자 불가 (영문이나 _만 가능)2. 대소문자 구분3. 길이는 31자 이하4. Keword(=예약어) 불가Keyword listautobreakcasecharconstcontinuedefaultdodoubleelseenumexternfloatforgotoifinlineintlongreg.. 구글의 기술 구글의 가장 중요하고 의미있었던 AI 기술의 10가지 모먼트구글 25주년 기념, 구글의 가장 중요하고 의미있었던 열 번의 AI 모먼트 소개blog.google 1. 검색 시 맞춤법오류 수정해주는 머신러닝 2. 구글번역 (텍스트, 이미지, 실시간 대화 내용 번역) 3. 텐서플로우(TensorFlow) : 오픈소스 머신러닝 프레임워크 4. 알파고 AI프로그램 (딥러닝) 5. TPU (Tensor Processing Unit) : 머신러닝을 위해 설계된 맞춤형 실리콘 칩. 텐서플로우에 최적화 6. 트랜스포머 : 언어이해 및 생성형 AI시스템 기반. 기계가 번역, 텍스트 요약, 질문 답변, 이미지 생성 및 로봇공학 수행가능 7.BERT (Bidirectional Encoder Representations fr.. Hello, World! /*Written by : JJHDate : 2025.03.01*/#includeint main(){ printf("Hello, world!"); return 0;} C언어는 반드시 메인이라는 함수가 하나 존재해야함 전처리기 (preprocessor) : C코드가 컴파일되기 전에 먼저 처리해야할 작업수행쉽게 말해, 소스파일을 기계가 알아먹을 수 있도록 기계어로 번역한다고 생각(ex. #include)전처리 지시자 (Preprocessor Directive) : 컴파일 작업 전 특별한 작업을 지시하기 위한 것 "#"으로 구분됨Liking : 컴파일 과정에서 오브젝트 파일이 실행될 수 있도록 필요한 외부 라이브러리들과 결합하는 과정Linker : 오브젝트 파일과 라이브러리를 결합해 실행파.. The Whisper of the Forest Walking through the forest at dawn, I feel the earth breathe beneath my feet. The air is crisp, filled with the scent of damp soil and pine. Sunlight fitlers through the canopy, painting golden patterns on the ground. Birds sing their morning songs, their melodies blending with the soft rustling of leaves.Each step brings a sense of calm, as if the trees are whispering ancient secrets. A gentle .. 이전 1 2 3 4 ··· 7 다음