-
在qt的页面上实现鼠标的左键和右键信号.docx
-
vent*e); 第二步:只需在对于的.cpp文件中实现该函数即可,例如: voidhelpPage::mousePressEvent(QMouseEvent*e){ if(qApp->mouseButtons(...
- 上传者:Ba**nt 2024-04-07 11:00:46 文档 学习
- 积分:1
-
Ifdef和endif的用法.doc
-
关的代码。 代码举例:新建define.cpp文件 #include "iostream.h" int main() {#ifdef DEBUG cout<< "Beginning execution of main()"; #endif return 0; } 运行结果为: Press any key to continue 改写...
- 上传者:St**刺痛 2024-04-07 02:20:06 文档 学习
- 积分:1
-
c++-动态规划-找零钱.txt
-
// 找零钱.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <vector> #include <algorithm> #include<iostream> #include <string> # include "stdlib.h" using namespace std; //定义 ...
- 上传者:Jo**hn 2024-04-06 03:40:26 文档 学习
- 积分:1
-
vc6.0导入graphics方法.doc
-
含一些链接函数的C++程序winbgi.cpp和winbgi.lib; 如何使用?第一种方法——创建工程之后,在Source Files中导入winbgi.cpp文件,在Header Files中导入graphics.h文件,并且将这两个文件和winbgi.lib拷贝至该工程所在的目录下。 第二种方...
- 上传者:爱说**e〝 2024-03-27 16:24:24 文档 学习
- 积分:1
-
单链表的归并.txt
-
// 单链表的归并.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<stdio.h> #include<stdlib.h> #define OK 1 #define ERROR 0 typedef int Status; typedef int ElemType; typedef struct ...
- 上传者:Ct**ck 2024-03-24 10:52:05 文档 学习
- 积分:1
-
驱动移植.doc
-
calibration_cam_cal.cpp | |--camera_flicker_para_ov13850mipiraw.cpp | |--camera_info_o...
- 上传者:co**崩溃 2024-03-14 04:04:40 文档 学习
- 积分:1
-
八数码.docx
-
815736402 Mybashuma.cpp #include <stdio.h> #include <malloc.h> #include <stdlib.h> int dist[3][3]; int arr[3][3]; int in(int x,int y){ return x <3&& x >=0&& y <3&& y >=0; } void swap(int* a,int* b){ ...
- 上传者:en**nd 2024-02-28 21:24:19 文档 学习
- 积分:1
-
Linux-Shell批量编译.pdf
-
le##*.}" = "cpp" ]; then gcc $file -o ${file.*} fi done OLDIFS=$IFS IFS=: for path in $( find $direc -...
- 上传者:Wt**oy 2024-02-25 22:12:40 文档 学习
- 积分:1
-
《C程序设计》作业.doc
-
的程序。(存放的文件名为31.c或31.cpp) 判断体重标准方法是: (1)男性标准体重=(身高-100)×0.9 女性标准体重=(身高-100)×0.9-2.5 (2)体重指数BMI =体重÷(身高×身高)*10000 (3)正常体重:标准体重±10(含10);偏瘦:小于标准体重10%以上;超重:大于标准体重10%~20%(含20);轻度肥胖:大于标准体重20%~30%(含30);中度...
- 上传者:泪不**肯走 2024-02-19 02:36:06 文档 学习
- 积分:1
-
NOIP模拟题1.pdf
-
杯超级篮球赛 (ball.pas/c/cpp;时限 1s;256M) 一年一度的高一 YL 杯超级篮球赛开赛了。当然,所谓超级,意思是参赛人 数可能多余 5 人。小三对这项篮球非常感兴趣,所以一场都没有落下。每个中午 都准时守侯在篮球场看比赛。经过一个星期的研究,小三终于对篮球的技战术找 到了一丝丝感觉了。他发现打 YL 杯的每个班都有一套相似的进攻战术: 1 :控球后卫带球到前场,找到一个最佳攻击点 ( x , y ) 2 :...
- 上传者:Wh**ey 2024-02-15 00:40:05 文档 学习
- 积分:1