... include <stdio.h> int main(){ char digit[8]; char *p; int i=8, num=66; printf("10진수 %d은 2진수로",num); while(num) { digit[--i]='0'+num%2; num/=2; } p=digit; while(i<8) { printf...
태그: include
... include <stdio.h> int main(){ char a[51]; scanf("%s", &a); printf("%s", a); return 0; } 이렇게 쳤을때가 올바른 코드인데 저는 %뒤에 s대신 c를 넣었어요 근데 c로 적었을때는...
태그: include
... include <stdio.h> include <string.h> typedef struct { char allergen[20]; } Allergy; typedef struct { char name[20], allergen[20]; } Food; int main() { Allergy allergies...
태그: include
... include <stdio.h> include <string.h> typedef struct { char allergen[20]; } Allergy; typedef struct { char name[20], allergen[20]; } Food; int main() { Allergy allergies[3]...
태그: include
... `BoardCheck`: 보드 상태를 체크하는 클래스 include <iostream> include <vector> include <limits> enum class Player { NONE, USER, COMPUTER }...
태그: include
맨 처음에 시작할 때 include<stdio.h> 이게 정확히 무엇을 의미하고 역할이 뭔가요? 다른 언어의 import나 using이랑 비슷한겁니다. 운영체제가 하드웨어의 기능을 쓰기좋게...
태그: include
define _CRT_SECURE_NO_WARNINGS include <stdio.h> include <stdlib.h> include <time.h> int choice(int ladder[20][19], int row, int col, int N) { return (ladder[row][col]...
... include <stdio.h> include <stdlib.h> include <time.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc...
태그: include
... include <stdio.h> include <stdlib.h> include <time.h> define SIZE dice /* run this program using the console pauser or add your own getch, system("pause") or input loop...
... include <sstream> include <fstream> include <iostream> include <vector> int main() { std::fstream fs; fs.open("input.csv", std::ios::in); std::string line; std::vector<std...