1. Mount install.wim index:1 (home)


dism.exe /Mount-WIM /WimFile:"d:\Decrypters\uup-converter-wimlib-12\16257.1.170728-1700.RS3_RELEASE_CLIENTCOMBINED_UUP_X86FRE_EN-US\sources\install.wim" /index:1 /MountDir:"c:\mount"


2. Get-CurrentEdition 


dism.exe /image:c:\mount /Get-CurrentEdition


3. Get-TargetEditions


dism.exe /image:c:\mount /Get-TargetEditions


4. Set-Edition:ProfessionalWorkstation


dism.exe /image:"c:\mount" /Set-Edition:ProfessionalWorkstation


5. Unmount/commit


dism.exe /Unmount-wim /mountdir:"c:\mount" /commit


6. setting sku flag (imagex)


imagex /flags "ProfessionalWorkstation" /info "d:\Decrypters\uup-converter-wimlib-12\16257.1.170728-1700.RS3_RELEASE_CLIENTCOMBINED_UUP_X86FRE_EN-US\sources\install.wim" 1 "Win 10 IP Pro-Workstation xx-XX (16257.1)" "Win 10 IP Pro-Workstation xx-XX (16257.1)"



7. install proWorkstation


8. winver


9. Manually inserting the gvlk


  slmgr /ipk NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J


ProfessionalWorkstation.cmd


Posted by 사과99

프로젝트 생성후


- 프로젝트 - 속성 - C/C++ - SDL 검사 아니요로 설정


- #pragma warning(disable:4996) 선언


- #define _CRT_SECURE_NO_WARNINGS 선언


- 프로젝트 - 속성 - C/C++ - 전처리기 - 전처리기 정의 항목에서 가장 우측에 


;_CRT_SECURE_NO_WARNINGS 를 추가하고, 확인



Posted by 사과99

반복문

프로그램/C 2017.09.22 16:31


  for (cnt = 0; cnt < 10; cnt++)

{

printf("input number %d times :", cnt + 1);

scanf_s("%d", &num);

sum += num;

continue;

}


int cnt = 0

while ( cnt < 10 )

{

printf("input number %d times : ", ++cnt);

scanf_s("%d", &num);

sum += num;

continue;

}



Posted by 사과99