소스 검색

Add pause for interactivity

1. Now the system pauses in case the executable was run directly
master
neko.py 5 년 전
부모
커밋
d4d9415d24
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      main.cpp

+ 4
- 0
main.cpp 파일 보기

@@ -4,6 +4,7 @@
#include <sstream>
#include <windows.h>
#include <wincred.h>
#include <conio.h>

void print_bytes(const DWORD length, const LPBYTE bytes) {
if (length == 0)
@@ -36,5 +37,8 @@ int main(int argc, char* argv[])

}
CredFree(creds);
std::cout << "Press any key to continue..." << std::endl;
std::cout.flush();
_getch();
return 0;
}

불러오는 중...
취소
저장