zhujian1.cpp
来自「运行时需要更改文件地址」· C++ 代码 · 共 30 行
CPP
30 行
// zhujian1.cpp : Implementation of Czhujian1
#include "stdafx.h"
#include "Server1.h"
#include "zhujian1.h"
/////////////////////////////////////////////////////////////////////////////
// Czhujian1
STDMETHODIMP Czhujian1::get_total(long *pVal)
{
// TODO: Add your implementation code here
*pVal=this->total;
return S_OK;
}
STDMETHODIMP Czhujian1::put_total(long newVal)
{
// TODO: Add your implementation code here
this->total=newVal;
return S_OK;
}
STDMETHODIMP Czhujian1::sum1(long x, long y, long z)
{
// TODO: Add your implementation code here
this->total=x+y+z;
return S_OK;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?