stdafx.cpp

来自「一个2D电磁场FEM计算的VC++源程序」· C++ 代码 · 共 19 行

CPP
19
字号
// stdafx.cpp : source file that includes just the standard includes
//	femme.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

int MsgBox(PSTR sz,...)
{
    CString ach;
    va_list args;
    va_start(args, sz);
    ach.FormatV(sz, args);
    return AfxMessageBox(ach);
}

double sq(double x)
{
    return x*x;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?