- 博客(0)
- 资源 (8)
- 问答 (2)
- 收藏
- 关注
课程设计下载\StuMananger.rar
课程设计下载\StuMananger.rar课程设计下载\StuMananger.rar课程设计下载\StuMananger.rar
2009-05-28
java helloworld java
java 测试 helloworld \
import java.awt.Graphics;
import java.applet.Applet;
public class app2 extends Applet{
int x,y;
public void init()
{
x=8;
y=7;
}
public void paint(Graphics g)
{g.drawString("类中定义两个变量:x=8 y=7",50,60);
g.drawString("他们的和是: "+(x+y),50,80);
g.drawString("他们的差是: "+(x-y),50,100);
}
}
2009-04-05
生产者消费者问题VC实现
// pc问题.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "pc问题.h"
#include "pc问题Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPcApp
BEGIN_MESSAGE_MAP(CPcApp, CWinApp)
//{{AFX_MSG_MAP(CPcApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPcApp construction
CPcApp::CPcApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CPcApp object
CPcApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CPcApp initialization
BOOL CPcApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CPcDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;
}
2008-12-07
使用了堡垒机的服务器如何自动化部署
2019-05-28
idea+maven热部署启动问题
2017-07-27
TA创建的收藏夹 TA关注的收藏夹
TA关注的人