include Qna 관련 답변 1 페이지

c언어 이론 고수님들 도와주십쇼 ㅠㅠ

//1번 코드 include <stdio.h> void reverseSentence(); int main(void) { printf("문장을... printf("%c", c); } } //2번 코드 include <stdio.h> int main(void){ char c; scanf("%c", &c); //실행시키고...

태그: include

코드업 c언어 궁금해여

include <stdlib.h> include<stdio.h> int main() { int n,i; int sum=0; scanf("%d",&n); for(i=2;n>i;i++) { if (n%i==0) { sum+=1; if (sum!=2) { printf("wrong number"); } else { printf("%d ",i)...

태그: include

Atmega128 산토끼 예제중 질문

include <avr/io.h> include <avr/interrupt.h> define F_CPU 16000000UL define __DELAY_BACKWARD_COMPATIBLE__ include <util...

태그: include, define

C언어 2차원 배열에 대한 질문 드립니다

include<stdio.h> int main() { int map[5][5] = { {1, 5, 6, 7, 8}, {2, 4, 6, 4, 9}, {1, 5, 7, 4, 2}, {2, 3, 4, 5, 5}, {5, 2, 4, 1, 1} }; int i = 0, j = 0; int res = map[i][j]; while(1) { if (i == 4...

태그: include

코드블럭 코딩

include <stdio.h> int main() { int width, height; scanf("%d %d", &width, &height); printf("%d (학번) (이름)", width*height); } 일단 이걸 기준으로 사진의 조건들을...

태그: include

알고리즘 c++ 코드 두개를 하나로...

첫번째 코드입니다 include <iostream> include <vector> include <algorithm> include <fstream> // 구조체 정의 struct ScoreIndex { int score; int...

태그: C, 알고리즘, include

다익스트라 알고리즘 구현 질문

... include <stdio.h> include <stdlib.h> define TRUE 1 define FALSE 0 //define SWAP(a,b, type) {int tmp; tmp = a; a=b; b=tmp;} define SWAP(a, b, type) { type...

태그: c언어, 알고리즘, 프로그래밍, c언어고수, include, define

AVR 코드 수정해주세요

... 코드는 include <mega128.h> // mega128 마이크로콘트롤러 관련 헤더 파일 include <delay.h> // delay 함수 정의 헤더 파일 include <stdlib.h...

태그: avr, atmega, 아티메가, 프로그래밍, include

씨플플 질문

include <iostream> using namespace std; void main() { char A; char B; cout << "문자를 입력하세요->"; cin >> A; B = A+1; cout << B << "\n"; } 이 코드를 입력했을 떄 C를...

태그: 씨플플, include

c언어 어떻게 출력되는지 돌려봐 주실분...

... include <stdio.h> include <time.h> int main() { time_t t = time(NULL); struct tm tm = *localtime(&t); if (tm.tm_year + 1900 == 2024 && tm.tm_mon + 1 == 4 && tm.tm_mday...

태그: include

    실시간 인기 검색어
    인기 검색어 더보기 →
    ...