1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 #include #include #define SIZE 100000 long long random(); long long N[SIZE] = { 0, }; long long temp; int cnt = 0; int check = 0; int main() { int i = 0, j = 0; for (i = 0; i
data.txt는 소스폴더 안에 kim 87lee 93park 75choi 83 1234567891011121314151617181920212223242526// ConsoleApplication7.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.// #include "stdafx.h" int main(){ int score = 0; char name[10] = { " " }; FILE *fpin, *fpout; fpin = fopen("data.txt", "r+"); fpout = fopen("out.txt", "w+"); while (!feof(fpin)) { fscanf(fpin, "%s %d", name, &score); printf("%s %d\n", name, score); fprintf(f..
내문서 -> Starcraft II -> variable.txtDocuments\Starcraft II\ variable.txt 창모드만 아니면 딱히 해상도 설정 할 일이 없을테니 위에 처럼 추가만 해주면 될것 같음 Fullscreenwidth=height= Windowedwindowwidth=windowheight= To change display mode manually:displaymode=0 - Windowed1 - Windowed (Fullscreen)2 - Fullscreen Source: https://us.battle.net/forums/en/sc2/topic/20759136172
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 #include struct STUDENT { char name[10]; int number; int c, ja, py, mo; float age; }a[5]; int main() { FILE *fp, *fp2; char info[50] = { " " }; char temp[100] = { " " }; ..
마지막 삽입 삭제검색출력 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164..
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748#include //PBL 2014244057 이종민int main(){ //글자 수 다르면 그냥 x //같으면 인덱스비교 char str[100] = {" "}; char str2[100] = {" "}; int length = 0, length2 = 0; int i, j; scanf("%s", str); scanf("%s", str2); for(i = 0 ; i
파일 입출력[더블 스페이싱(double spacing)] 텍스트파일에 있는걸 줄바꿈 하여 다른 텍스트 파일에 저장 12345678910111213141516171819202122232425262728293031323334// PBL.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.// 2014244057 이종민#include "stdafx.h"#define NUM 100 int main() { char READNAME[50] = { " " }; // 읽어올 파일명 char WRITENAME[50] = { " " }; // 읽어온걸 저장할 파일명 char temp[100] = { " " }; FILE *fp; FILE *fp2; printf("읽을 파일명: "); scanf("%s", READNAME);..
비주얼 스튜디오 빈 프로젝트와 콘솔 응용프로그램 차이? Win32 application prepares you the basic issues of an application: resources (like icons, dialog name, dialog menu …), existing definitions (prepared header file), entry point (WinMain ) ,other WndProc function and so forth. Empty Project do not do the prepare job of these coding source. You can see the link I give you. Elegentin Xie MSDN Community Support 여기서 준 링크..
Contact: j0n9m1n1@gmail.com