⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cppuser.cpp

📁 一个简单的汇编程序源代码
💻 CPP
字号:
/*
   cppuser.cpp

   Copyright (c) 1993 by Borland International, Inc.

   This module links with library.lib using mangled CPP names.

   Part of the aliasdos example.

   Build using the provided makefile using: "make -B".

*/

/* Prototypes for functions in library.lib. These prototypes will be 
   mangled and resolved through aliasing. */

extern void SetCoords( int x, int y );
extern void DrawHappyFace( char c );
extern void PrintMessage( char * WhoIsIt );

#include <conio.h>

char Name[] = "CPP User Program";

int main()
{
   struct text_info ti;
   gettextinfo( &ti );

   SetCoords( ti.screenwidth / 2, ti.screenheight / 2 );
   DrawHappyFace( 0x3 );
   PrintMessage( Name );
   return 0;
}

⌨️ 快捷键说明

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