justanotherapp.cpp
来自「C++ Source code from a tutorial」· C++ 代码 · 共 25 行
CPP
25 行
// This is the main project file for VC++ application project
// generated using an Application Wizard.
#include "stdafx.h"
#using <mscorlib.dll>
#using <DiggityDooLib.dll>
#include <tchar.h>
using namespace System;
using namespace DiggityDoo;
// This is the entry point for this application
int _tmain(void)
{
DigClass *dig = new DigClass;
Console::WriteLine("How many lines did you cut?");
int x = dig->MagicNumber;
Console::WriteLine(x);
Console::WriteLine(
"How many lines did you almost cut?");
Console::WriteLine(DigClass::DigFunction(x, 5));
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?