自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 收藏
  • 关注

原创 C++11异步生产消费者(边生产边消费)

【代码】C++11异步生产消费者(边生产边消费)

2022-11-28 16:54:19 378

原创 修改文本某行内容

修改文本某行内容

2022-11-22 09:48:30 172

原创 linux Cmake总结----添加动态库

main //生成可执行文件名。

2022-10-19 14:04:35 782

原创 Linux下 Vscode launch.json 以及tasks.json配置

Linux下VSCode launch.json以及Tasks.JSON配置

2022-10-19 09:19:10 1101

翻译 https://my.oschina.net/u/4308373/blog/3422991 https://www.oschina.net/informat/vscod

2022-09-29 22:11:57 685

原创 Basic XLib functionality test failed!

2022-06-20 18:41:17 1117

原创 C++黑马教程学习,如有侵权,请联系我删除

C++提高编程本阶段主要针对C++泛型编程和STL技术做详细讲解,探讨C++更深层的使用1 模板1.1 模板的概念模板就是建立通用的模具,大大提高复用性例如生活中的模板一寸照片模板:[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-CYsSZkVP-1650181196908)(assets/1547105026929.png)]PPT模板:[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-n68DkA0M-16501811969

2022-04-17 15:40:56 348

原创 自学习-C++

黑马教程课程文档,上传方便查阅,如果侵权,请联系我删除

2022-04-17 15:39:13 108

原创 C++学习路线

学习编程的基础四大件数据结构和算法 学完之后要刷leetcode(剑指offer)计算机网络 tcp/ip 协议栈(tcp/ip详解)操作系统 进程和线程 并发 和锁 内存分布调度等等 (深入理解操作系统)设计模式 单例 工厂 代理 策略模式 模版方法(大话设计模式)实践Linux操作系统掌握 shell编程 脚本等等编译/调试工具 Linux平台上 gcc 以及makefile(跟我一起写makefile)要会写 gdb调试工具Linux系统编程 !多线程编程 网络编程(unix环境高

2022-02-19 13:25:02 1592

原创 判断直线相交

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Drawing;namespace _0208zuoye{ class Program { static void Main(string[] args) { Random r

2021-07-01 10:05:29 91

原创 2021-07-01多边形相加

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Drawing;namespace _0208zuoye{ public class MyRegion { List<Line> paths = new List<Line>();

2021-07-01 10:04:32 122

原创 C++读取txt文件

逐行读入void readTxt(string file){ ifstream infile; infile.open(file.data()); //将文件流对象与文件连接起来 assert(infile.is_open()); //若失败,则输出错误消息,并终止程序运行 string s; while(getline(infile,s)) { cout<<s<<endl; } .

2021-06-28 15:49:22 157

原创 C++小练习

#include <iostream>#include <string>#include <vector>#include <algorithm>using namespace std;class Box{private: double m_height; double m_breadth; double m_length;public: void setHeight(double height) { m_height = h

2021-06-28 14:51:03 112

原创 3rd-Hyperion-Extensions-StringEx.cs

using System.Runtime.CompilerServices;namespace Hyperion.Extensions{ internal static class StringEx { [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static byte[] ToUtf8Bytes(this string str) { r.

2021-06-23 20:02:36 86

原创 3rd-Hyperion-Extensions-StreamEx.cs

#region copyright// -----------------------------------------------------------------------// <copyright file="StreamEx.cs" company="Akka.NET Team">// Copyright (C) 2015-2016 AsynkronIT <https://github.com/AsynkronIT>// Copyright

2021-06-23 20:02:00 90

原创 3rd-Hyperion-Compilation-IlCompiler.cs

using System;using System.Linq;using System.Reflection;using System.Reflection.Emit;namespace Hyperion.Compilation{#if NET45 internal sealed class IlCompiler<TDel> : IlBuilder, ICompiler<TDel> { public TDel Compile() .

2021-06-23 19:58:59 115

原创 QT之大小窗口切换\自定义槽函数

mainwindow#ifndef MAINWINDOW_H#define MAINWINDOW_H#include <QWidget>#include <QPushButton>#include "subwidget.h"#include <QMainWindow>namespace Ui {class MainWindow;}class MainWindow : public QMainWindow{ Q_OBJECTpubl

2021-06-07 22:18:13 662

原创 C++ 指针数组函数

#include <iostream>#include "string"using namespace std;void bubbleSort(int * arr,int len) { for (int i = 0; i < len; i++) { for (int j = 0; j < len - i - 1; j++) { if (arr[j] > arr[j+1]) { int temp = arr[j]; arr

2021-06-02 20:06:16 56

原创 C++ 指针数组

源码#include #include “string”using namespace std;int main(){int arrar[10] = { 1,2,3,4,5,6,7,8,9,10 };int * p2 = arrar;for (int i = 0; i < 10; i++){cout << *p2 << endl;p2++;}}

2021-06-02 19:52:30 46

原创 C++在进行值传递的时候,形参发生改变,不会影响实参

2021-06-02 19:19:56 806 1

原创 QT入门:创建按钮、重置窗口大小(名字)、设置固定窗口大小

在这里插入代码片#include "mainwindow.h"#include "ui_mainwindow.h"#include "QPushButton"MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this); //创建一个按钮 QPushButton * btn = new QPushButt

2021-06-01 21:46:24 689

原创 EZCAM脚本输出info信息以及分区信息

#!/usr/bin/env python3#-*- coding:utf-8 -*-import jsonimport argparseimport os, sys,shutil,datetimeimport loggingimport ezcamfrom filelock import FileLockimport sysimport reimport time,zipfile# resize = '0'# jobpath= 'D:\AutoOutput'# StartR

2021-05-25 14:24:17 646

原创 Python 字典之Lambda表达式排序

resultDict = sorted(pointDict.items(),key=lambda x:int(x[0].getX()))

2021-05-17 16:42:08 235

原创 Ezcam 自动输出Gerber274格式资料

#!/usr/bin/env python#-*- coding:utf-8 -*-import ezcamimport os, sysif sys.version_info[0] == 2: from Tkinter import * from tkFont import Font from ttk import * from tkMessageBox import * from tkinter import messageboxelse: #Pytho

2021-05-17 16:38:10 502

原创 Genesis脚本---自动输出Gberber274格式资料 脚本

Genesis脚本—自动输出Gberber274格式资料 脚本# !/bin/csh set GUI_CMD = $GENESIS_DIR/tmp/gui_cmd.$$set GUI_RESP = $GENESIS_DIR/tmp/gui_resp.$$alias DO_INFO 'COM info,out_file=$IFILE,write_mode=replace,units=inch,args= \!:* ; source $IFILE; rm $IFILE'alias GUI_OUT "

2021-05-17 16:33:37 2454 2

原创 c#多sql操作使用事务

private static void ExecuteSqlTransaction(string connectionString){ using (SqlConnection connection = new SqlConnection(connectionString)) { connection.Open(); SqlCommand command = connection.CreateCommand(); SqlTransaction transactio

2021-04-23 14:27:02 255

转载 Python爬虫菜鸟入门,爬取豆瓣top250电影 (自己学习,如有侵权,请联系我删除)

Python爬虫菜鸟入门,爬取豆瓣top250电影(自己学习,如有侵权,请联系我删除)import requestsfrom bs4 import BeautifulSoupimport timeimport reimport pandas as pdheaders = { 'Cookie': 'douban-fav-remind=1; __yadk_uid=CKhB1u3n6xEqzyUBAyvDcIG0qqutnMNR; bid=3tIcGsf0QDM; __gads=ID=8d

2021-04-20 09:53:35 401

todesktodesktodesk

todesktodesktodesk

2023-01-31

todesk windows

todesk windows

2023-01-31

自学cmake demo 练习,防止遗忘

自学cmake demo 练习,防止遗忘

2022-10-21

cmake自学习文件,自己使用

cmake自学习文件,自己使用

2022-09-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除