下面介绍一个简单上手的二次开发入门方法,当你的二次开发环境搭建配置好后,vs出现一个代码编写窗口,可以直接将cpp文件初始配置的代码全部删除后直接粘贴如下的代码,就可以开始你的开发之旅了!
#if ! defined ( __hp9000s800 ) && ! defined ( __sgi ) && ! defined ( __sun )
# include <strstream>
# include <iostream>
using std::ostrstream;
using std::endl;
using std::ends;
using std::cerr;
#else
# include <strstream.h>
# include <iostream.h>
#endif
#include <uf.h>
#include <uf_ui.h>
#include <uf_exit.h>
//------------------------------------------------------
//第一步:在这里写入所需的头文件,格式如上#include <>一样即可
//------------------------------------------------------
#define UF_CALL(X) (report_error( __FILE__, __LINE__, #X, (X)))
static int report_error( char *file, int line, char *call, int irc)
{
if (irc)
{
char err[133],msg[133];