This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <string> | |
using namespace std::string_literals; | |
constexpr size_t buffer_size = 64*1024; | |
static char buffer[buffer_size]; | |
static DWORD PrintString(HANDLE h_stdout, std::wstring const& string) { | |
DWORD count; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
以下是MainActivity.java的内容 | |
建议在第34行之后加一句 this.finish(); | |
*/ | |
public class MainActivity extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); |