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

📄 u10_3_1.cpp

📁 C++Builde5程序设计—基础教学篇程序源代码1。
💻 CPP
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <stdio.h>
#include "U10_3_1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
Tf10_3_1 *f10_3_1;
//---------------------------------------------------------------------------
__fastcall Tf10_3_1::Tf10_3_1(TComponent* Owner)
    : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall Tf10_3_1::FormPaint(TObject *Sender)
{
   int *ptr1,*ptr2;
   int num1=10,num2,num3;
   char buff[20];
   ptr1=&num1;
   sprintf(buff,"=> num1  

⌨️ 快捷键说明

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