#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部
|
zhabuye
贴于 2020年7月16日 01:13
hide
bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部
|
zhabuye
贴于 2020年7月16日 01:12
hide
bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部
|
zhabuye
贴于 2020年7月16日 01:12
hide
bbsi
/*
客户:登陆,修改密码,充值,手机绑定,退出
管理员:登陆 ,添加会员 ,查看库存 ,退出
*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
......................
阅读全部
|
gougoudan
贴于 2020年7月1日 00:05
hide
bbsi
#include<stdio.h>
#define Height 10
int calculate(int Long,int Width);
int main()
{
int m_Long;
int m_Width;
int result;
printf("长方形的高度为: %d\n",Height);
......................
阅读全部
|
DJhhh
贴于 2020年6月29日 17:36
hide
bbsi
//1.1
#include <stdio.h>
int main()
{
int i,sum = 0;
for (i = 1; i <= 100; sum += i++){}
printf("%d", sum);
return 0;
}
阅读全部
|
gougoudan
贴于 2020年6月29日 09:59
hide
bbsi
BEGIN_MESSAGE_MAP(CmfcView, CView)
ON_WM_LBUTTONDOWN()
ON_WM_LBUTTONUP()
ON_WM_MOUSEMOVE()
END_MESSAGE_MAP()
CPoint m_startpt;
void CmfcView::OnLButtonDown(UINT nFlags, CPoint point)
{
m_startpt = point;
SetCapture();
CView::OnLButtonDown(nFlags, point);
......................
阅读全部
|
gougoudan
贴于 2020年6月24日 15:52
hide
bbsi
#include <windows.h>
HWND stringView;
LRESULT CALLBACK WndProc(HWND h, UINT msg, WPARAM w, LPARAM k)
{
switch (msg)
{
case WM_LBUTTONDOWN:
SetWindowText(stringView, "mouse down");
break;
case WM_KEYDOWN:
SetWindowText(stringView, "key down");
......................
阅读全部
|
gougoudan
贴于 2020年6月24日 15:38
hide
bbsi
#include <windows.h>
HINSTANCE hInst; // 当前实例
HWND stringView;
// 函数: WndProc(HWND, UINT, WPARAM, LPARAM)
// 目的: 处理主窗口的消息。
// WM_DESTROY - 发送退出消息并返回
LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
{
case WM_LBUTTONDOWN:
......................
阅读全部
|
gougoudan
贴于 2020年6月24日 15:27
hide
bbsi