-
VC++ 6.0绘制曲线正弦波
VC++ 6.0 绘制曲线正弦波,一种比较有规律的曲线,源代码也是相当简单的好种。
//建立画笔
CPen cpen,pen;
pen.CreatePen(PS_SOLID,4,RGB(0,0,0));
cpen.CreatePen(PS_SOLID,2,RGB(0,0,255));
pDC->SelectObject(&cpen);
//指定原点
pDC->SetViewportOrg(100,245);
pDC->SetTextColor(RGB(255,0,0));
//绘制横坐标
CString sPIText[]={"-1/2π","","1/2π","π","3/2π","2π","5/2π","3π","7/2π","4π","9/2π","5π"};
for(int n=-1,nTmp=0;nTmpLineTo(60*n,0);
pDC->LineTo(60*n,-5);
pDC->MoveTo(60*n,0);
pDC->TextOut(60*n-sPIText[n+1].GetLength()*3,16,sPIText[n+1]);
}
double y,radian;
pDC->SelectObject(&pen);
for(int x=-60;xMoveTo((int)x,(int)y);
pDC->LineTo((int)x,(int)y);
}
- 2022-01-21 22:47:43下载
- 积分:1
-
这是关于finidng有功和无功功率的系统给出了谐波…
It is about finidng the real and reactive power given some harmonics in the system.
- 2023-04-19 12:25:03下载
- 积分:1
-
vc with the development of the huge memory games, beginners or very useful.
用vc++开发的贪吃蛇游戏,初学者还是很有用的。-vc with the development of the huge memory games, beginners or very useful.
- 2022-01-27 20:26:07下载
- 积分:1
-
TTreeView Eclipes examples of the Java environment
TTreeview 的 Java实例
Eclipes环境下-TTreeView Eclipes examples of the Java environment
- 2022-07-17 05:59:19下载
- 积分:1
-
C#主控明细数据库显示操作实例
C#主控明细数据库显示操作实例,测试数据库为Access,此方面有需求的可下载本实例代码。
- 2022-08-07 00:33:44下载
- 积分:1
-
翼型软件,描述翼型及其特征和特性,分析其性能
翼型软件,描述翼型及其特征和特性,分析其性能-Airfoil software, describe the airfoil and its features and characteristics, analyze its performance
- 2023-02-09 16:10:04下载
- 积分:1
-
This is the introduction of a Face Recognition English on the paper, which is a...
这是介绍人脸识别的一篇英文综述性的论文,这是上半部分-This is the introduction of a Face Recognition English on the paper, which is a part
- 2022-07-02 23:19:44下载
- 积分:1
-
通知:选修“信息安全”的学生,逃犯…
通知: 选修《信息安全》的同学请注意了,本课已停课了,不再上了,期末成绩是以交作业的形式来考核,作业有2个,少交一个将不会及格. 1.编程题: 用任何一种语言编写一个扫描器,扫描形式不限,必须能对端口进行扫描,如果觉的能力有限的同学,可以选择本书第三章,课后的任意一道编程题来做.(本题编好以后,用邮件的形式发给他,E-mail:gyx317@21cn.com,邮件的主题请写清楚学院、01级、学号、姓名-notice : elective "information security" to the students, the fugitive has been closed and will not last, the end is perpendicular operation results in the form of assessment, two operations are paid less one will not pass. 1. Programming that : any language to prepare a scanner, scanning free in style, should be able to port scan, if the limited capacity McGREGOR students will be able to choose the book III, the after-school program and that an arbitrary do. (Part of the good that the future use of the mail sent to him, E-mail : gyx317@21cn.com, Post pieces of the theme please write clearly College, 01, the school, names
- 2022-04-26 23:41:52下载
- 积分:1
-
一个很好的汉字字模生成程序,功能很强大,附带了使用说明...
一个很好的汉字字模生成程序,功能很强大,附带了使用说明-a good Chinese Fonts generation procedures, functions very powerful, the incidental use
- 2022-03-09 14:34:01下载
- 积分:1
-
ORACLE的开发和使用
ORACLE的开发和使用-the development and use
- 2022-03-20 06:11:11下载
- 积分:1