- 博客(6)
- 收藏
- 关注
原创 C# WPF Blend 按钮样式设置
最近学习WPF研究了一下关于按钮样式设置第一次编辑样板选择编辑副本IsMouseOver=True设置鼠标经过时候我们这里将背景设置为我们的图片 前景色设置为无,透明度为80然后我们设置鼠标按下以后Is=Pressed=True设置缩放将大小设置为1.1最后贴上代码 <ControlTemplate Targe...
2019-07-17 14:40:13
1284
原创 c++ opencv 图片处理中像素掩膜 实现
#include<opencv2/opencv.hpp>#include<iostream>#include<math.h>using namespace cv;int main(int argc, char** argv){ Mat src, dst; src = imread("D:\\Source\\opencv\\YanmoJuZhen\\Image\\...
2018-04-19 17:35:26
1423
原创 关于C++ 注册表开机启动设置的一些研究
//AuroRunDemo.cpp:定义控制台应用程序的入口点//#include"stdafx.h"#includeint _tmain(int argc, _TCHAR* argv[]){//如果想要修改注册表 我们就需要调用系统APIHKEY hkey = nullptr;wchar_t szValue[MAXBYTE]=L"I Love you!";//
2017-02-19 16:12:18
556
原创 初涉VS2010 关于调试下输入后enter直接退出问题
代码如下#include#includeint main(){using namespace std; double area;coutcin>> area;double side;side=sqrt(area);coutcoutcin.get();return side;}这里要求向area写入一个数并求其平方根
2017-02-13 08:01:18
5685
2
转载 System linux下的调用
先来看一下system()函数的简单介绍: 2 int system(const char *command);system() executes a command specified in command by calling /bin/sh -c command, and returns after the command has been completed. During execu
2017-01-07 09:38:07
386
原创 gcc不支持标准c的gets puts函数
一段c源程序代码如下:1 #include 2 #include 3 int main() 4 { 5 void swap(char *p1,char *p2); 6 char str1[20],str2[31],str3[20]; 7 printf("input three line:\n"); 8
2016-11-01 15:37:11
3122
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人